[PPL-devel] [GIT] ppl/ppl(master): Give up on -Werror: it increasingly causes problems.

Roberto Bagnara roberto.bagnara at bugseng.com
Tue Sep 10 10:22:39 CEST 2013


Module: ppl/ppl
Branch: master
Commit: 89386ce4bf5a4e58741ee9a2078978386b8faad9
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=89386ce4bf5a4e58741ee9a2078978386b8faad9

Author: Roberto Bagnara <roberto.bagnara at bugseng.com>
Date:   Tue Sep 10 10:06:16 2013 +0200

Give up on -Werror: it increasingly causes problems.
(Thanks to Stephen Montgomery-Smith.)

---

 demos/ppl_lpsol/Makefile.am    |    2 +-
 interfaces/C/tests/Makefile.am |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/demos/ppl_lpsol/Makefile.am b/demos/ppl_lpsol/Makefile.am
index 85703e5..2291d5b 100644
--- a/demos/ppl_lpsol/Makefile.am
+++ b/demos/ppl_lpsol/Makefile.am
@@ -63,7 +63,7 @@ ppl_lpsol_CFLAGS = -std=gnu89
 else !ICC
 
 # We cannot use -std=c89 because of the definition of sigaction in <signal.h>.
-ppl_lpsol_CFLAGS = -pedantic -std=gnu89 -Werror
+ppl_lpsol_CFLAGS = -pedantic -std=gnu89
 
 endif !ICC
 
diff --git a/interfaces/C/tests/Makefile.am b/interfaces/C/tests/Makefile.am
index 9933502..ac529aa 100644
--- a/interfaces/C/tests/Makefile.am
+++ b/interfaces/C/tests/Makefile.am
@@ -46,7 +46,7 @@ if GCC
 if HOST_OS_MINGW
 
 # MinGW's <stdlib.h> cannot be compiled in c89 mode.
-AM_CFLAGS = -pedantic -std=gnu89 -Werror
+AM_CFLAGS = -pedantic -std=gnu89
 
 else !HOST_OS_MINGW
 
@@ -56,7 +56,7 @@ AM_CFLAGS = -std=c89
 
 else !ICC
 
-AM_CFLAGS = -pedantic -std=c89 -Werror
+AM_CFLAGS = -pedantic -std=c89
 
 endif !ICC
 




More information about the PPL-devel mailing list