]> granicus.if.org Git - nethack/commitdiff
-ansi -pedantic can't come after -std=c++11
authorRay Chason <chasonr@shell.sf.net>
Thu, 24 May 2018 03:38:11 +0000 (23:38 -0400)
committerPasi Kallinen <paxed@alt.org>
Mon, 10 Sep 2018 18:13:28 +0000 (21:13 +0300)
sys/unix/hints/macosx10.10-qt

index ff98692516d0c0169a9f9aa635bf162444a652fd..3d9747649442abde95e8998d5adc17e75ff87395 100644 (file)
@@ -65,7 +65,7 @@ CXX=clang++ -std=gnu++11
 #
 
 #CFLAGS+=-W -Wimplicit -Wreturn-type -Wunused -Wformat -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -DGCC_WARN
-CFLAGS+=-Wall -Wextra -Wno-missing-field-initializers -Wimplicit -Wreturn-type -Wunused -Wformat -Wswitch -Wshadow -Wwrite-strings -DGCC_WARN -ansi -pedantic
+CFLAGS+=-Wall -Wextra -Wno-missing-field-initializers -Wimplicit -Wreturn-type -Wunused -Wformat -Wswitch -Wshadow -Wwrite-strings -DGCC_WARN
 # As of LLVM build 2336.1.00, this gives dozens of spurious messages, so
 # leave it out by default.
 #CFLAGS+=-Wunreachable-code