This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch] Don't specify -Wmissing-declarations when compiling a C++ file


2003-06-22  Max Bowsher  <maxb@ukf.net>

        * Makefile.am (AM_CXXFLAGS): Remove -Wmissing-declarations, which is
a
        C-only warning.

Index: Makefile.am
===================================================================
RCS file: /home/max/cvsmirror/cygwin-apps-cvs/setup/Makefile.am,v
retrieving revision 2.29
diff -u -p -r2.29 Makefile.am
--- Makefile.am 29 Mar 2003 10:15:57 -0000 2.29
+++ Makefile.am 22 Jun 2003 19:47:39 -0000
@@ -25,10 +25,9 @@ SUBDIRS = bz2lib zlib libgetopt++ @RSYNC
 ## DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*

 ##AM_CFLAGS = -Werror -Wall -Winline -Wpointer-arith
-AM_CFLAGS = -Werror -Wall -Wpointer-arith \
-  -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-  -Wmissing-declarations -Wcomments
-AM_CXXFLAGS = $(AM_CFLAGS)
+AM_CXXFLAGS = -Werror -Wall -Wpointer-arith -Wcomments \
+  -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
+AM_CFLAGS = $(AM_CXXFLAGS) -Wmissing-declarations

 WINDRES  := @WINDRES@

Max.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]