From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Insight Patches Subject: --enable-gdb-build-warnings=,-Werror on cygwin Date: Fri, 06 Apr 2001 12:32:00 -0000 Message-id: <3ACE19D9.7D6603F6@cygnus.com> X-SW-Source: 2001-q2/msg00024.html 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