This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
--enable-gdb-build-warnings=,-Werror on cygwin
- To: Insight Patches <insight at sources dot redhat dot com>
- Subject: --enable-gdb-build-warnings=,-Werror on cygwin
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 06 Apr 2001 15:32:41 -0400
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