From: robertlipe Date: Wed, 23 Apr 2014 06:54:19 +0000 (+0000) Subject: Get warning chatter in Creator build under control. Sheesh! X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~140 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dc47a93c50585c145aff54b8a4f6ee730d0e2f26;p=gpsbabel.git Get warning chatter in Creator build under control. Sheesh! --- diff --git a/gpsbabel/GPSBabel.pro b/gpsbabel/GPSBabel.pro index a2179e0fb..5e5c4d508 100644 --- a/gpsbabel/GPSBabel.pro +++ b/gpsbabel/GPSBabel.pro @@ -242,7 +242,6 @@ SUBDIRS += jeeps macx|linux { DEFINES += HAVE_NANOSLEEP HAVE_LIBUSB HAVE_GLOB - DEFINES += HAVE_VA_COPY HAVE_VA_LIST_AS_ARRAY SOURCES += gbser_posix.cc JEEPS += jeeps/gpslibusb.cc INCLUDEPATH += jeeps @@ -280,7 +279,6 @@ macx { } SOURCES += $$ALL_FMTS $$FILTERS $$SUPPORT $$SHAPE $$ZLIB $$JEEPS - DEFINES += NEW_STRINGS # We don't care about stripping things out of the build. Full monty, baby. @@ -290,3 +288,11 @@ DEFINES += PDBFMTS_ENABLED DEFINES += SHAPELIB_ENABLED DEFINES += CSVFMTS_ENABLED DEFINES += CET_WANTED + +# Creator insists on adding -W to -Wall which results in a completely +# absurd amount of jibber-jabber on perfectly legally formed code. +# Rather than wade through a thousand lines of yammer, let's just nuke -W +# but leave -Wall, which actually has useful stuff. +# Citation: http://stackoverflow.com/questions/18667291/disable-wall-compiler-warnings-in-a-qt-project +QMAKE_CFLAGS_WARN_ON -= -W +QMAKE_CXXFLAGS_WARN_ON -= -W