--enable-gdb-build-warnings=,-Werror on cygwin

Andrew Cagney ac131313@cygnus.com
Fri Apr 6 12:32:00 GMT 2001


Just FYI,

Insight gets a number of warnings (undeclared functions) when
configured/built with --enable-gdb-build-warnings=,-Werror (the comma is
important :-) on cygwin.

Looking at the code it was related to #ifdef __CYGWIN__ code.

If you're wondering, GDB selects it warning flags very carefully, it
doesn't for instance blindly enable ``-Werror -Wall''.  Consequently,
I'd suspect that the warnings indicate real problems.  If you do find a
file that can't be fixed then Makefile.in can be tweeked to disable the
-Werror flag for that file.

	enjoy,
		Andrew



More information about the Insight mailing list