[PPL-devel] [GIT] ppl/ppl(master): The Intel C/C++ compiler does not support -pedantic.

Roberto Bagnara bagnara at cs.unipr.it
Thu Apr 12 21:22:44 CEST 2012


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

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Thu Apr 12 21:22:27 2012 +0200

The Intel C/C++ compiler does not support -pedantic.

---

 interfaces/C/tests/Makefile.am |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/interfaces/C/tests/Makefile.am b/interfaces/C/tests/Makefile.am
index 10d3857..2e6b1dd 100644
--- a/interfaces/C/tests/Makefile.am
+++ b/interfaces/C/tests/Makefile.am
@@ -50,8 +50,16 @@ AM_CFLAGS = -pedantic -std=gnu89 -Werror
 
 else !HOST_OS_MINGW
 
+if ICC
+
+AM_CFLAGS = -std=c89
+
+else !ICC
+
 AM_CFLAGS = -pedantic -std=c89 -Werror
 
+endif !ICC
+
 endif !HOST_OS_MINGW
 
 endif GCC




More information about the PPL-devel mailing list