From: Florian Krohm Date: Thu, 1 Jan 2015 18:26:05 +0000 (+0000) Subject: Add -std=gnu99 to the list of compile flags. X-Git-Tag: svn/VALGRIND_3_11_0~745 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=522dc6e7ce5675dd4b598d3b4163983a621b5714;p=thirdparty%2Fvalgrind.git Add -std=gnu99 to the list of compile flags. Remove -Wno-long-long as it is no longer needed. long long is part of C99. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14841 --- diff --git a/Makefile.all.am b/Makefile.all.am index 44b024af51..3b2772af9f 100644 --- a/Makefile.all.am +++ b/Makefile.all.am @@ -98,6 +98,7 @@ clean-noinst_DSYMS: # that somehow causes VG_(memset) to get into infinite recursion. AM_CFLAGS_BASE = \ -O2 -g \ + -std=gnu99 \ -Wall \ -Wcast-align \ -Wmissing-prototypes \ @@ -105,7 +106,6 @@ AM_CFLAGS_BASE = \ -Wpointer-arith \ -Wstrict-prototypes \ -Wmissing-declarations \ - -Wno-long-long \ @FLAG_W_CAST_QUAL@ \ @FLAG_W_WRITE_STRINGS@ \ @FLAG_W_FORMAT@ \