The Intel Compiler has the "bug" CGAL_CFG_NO_STATEMENT_EXPRESSIONS.

The Intel Compiler, even when it tries to emulate the GNU/C++ compiler,
does not implement the GNU extension "statement expressions". The macro
CGAL_CFG_NO_STATEMENT_EXPRESSIONS must be defined with __INTEL_COMPILER is
defined.
This commit is contained in:
Laurent Rineau 2013-01-07 12:28:34 +01:00
parent 89bf326ecb
commit 4b38c0b73e
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@
#define CGAL_CFG_NO_TR1_ARRAY 1 #define CGAL_CFG_NO_TR1_ARRAY 1
// never use TR1 // never use TR1
#define CGAL_CFG_NO_TR1_TUPLE 1 #define CGAL_CFG_NO_TR1_TUPLE 1
#if !defined(__GNUC__) #if !defined(__GNUC__) || defined(__INTEL_COMPILER)
#define CGAL_CFG_NO_STATEMENT_EXPRESSIONS 1 #define CGAL_CFG_NO_STATEMENT_EXPRESSIONS 1
#endif #endif
#if defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) || (BOOST_VERSION < 105100) #if defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) || (BOOST_VERSION < 105100)