Re: Compiler Warnings
On Tue, Jan 29, 2002 at 05:56:55PM -0500, Bob Hilliard wrote:
> Compiling a source file that #includes /usr/include/syslog.h
> /usr/include/sys/syslog.h:80: warning: initialization discards qualifiers \
> from pointer target type
> repeated 70 times. This is Bug#111767.
> This is caused by the compiler flag ``-Wwrite-strings''. This is
> included in the Makefile by @WCFLAGS@ in Makefile.in. The configure
> script defines WCFLAGS to include ``-Wwrite-strings''. The package
> doesn't require automake or autoconf to build. Would it be safe for
> me to remove ``-Wwrite-strings'' from configure?
Removing -Wwrite-strings should not change any behaviour of the program; it
will just suppress the warnings. So yes, it should be safe.