From 9f6dc040ff56d6e1b4f77275acb3a1d4750a38e6 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 10 Feb 2011 01:05:48 +0000 Subject: CONFIGURE: Add basic support for ICC. svn-id: r55862 --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e8c8a17291..844a063f8f 100644 --- a/Makefile +++ b/Makefile @@ -48,6 +48,13 @@ ifeq "$(HAVE_CLANG)" "1" CXXFLAGS+= -Wno-conversion -Wno-shorten-64-to-32 -Wno-sign-compare -Wno-four-char-constants endif +ifeq "$(HAVE_ICC)" "1" + # Disable some warnings: + # 161: unrecognized #pragma + # 1899: multicharacter character literal (potential portability problem) + CXXFLAGS+= -diag-disable 161,1899 +endif + # Warn if global constructors are used. Only available in GCC with LLVM backend # (and maybe clang?), hence off by default. #CXXFLAGS+= -Wglobal-constructors -- cgit v1.2.3