mirror of https://github.com/CGAL/cgal
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:
parent
89bf326ecb
commit
4b38c0b73e
|
|
@ -115,7 +115,7 @@
|
|||
#define CGAL_CFG_NO_TR1_ARRAY 1
|
||||
// never use TR1
|
||||
#define CGAL_CFG_NO_TR1_TUPLE 1
|
||||
#if !defined(__GNUC__)
|
||||
#if !defined(__GNUC__) || defined(__INTEL_COMPILER)
|
||||
#define CGAL_CFG_NO_STATEMENT_EXPRESSIONS 1
|
||||
#endif
|
||||
#if defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) || (BOOST_VERSION < 105100)
|
||||
|
|
|
|||
Loading…
Reference in New Issue