forked from qt-creator/qt-creator
Compile with Intel CC: va_copy isn't defined.
This looks like a compiler bug. Intel CC uses the GCC headers, but they appear to be incompatible. Bug will be reported, but meanwhile work around the problem. Reviewed-By: Trust Me
This commit is contained in:
@@ -58,6 +58,8 @@
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# define va_copy(dst, src) ((dst) = (src))
|
||||
#elif defined(__INTEL_COMPILER) && !defined(va_copy)
|
||||
# define va_copy __va_copy
|
||||
#endif
|
||||
|
||||
#define CPLUSPLUS_NO_DEBUG_RULE
|
||||
|
||||
@@ -60,6 +60,8 @@
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# define va_copy(dst, src) ((dst) = (src))
|
||||
#elif defined(__INTEL_COMPILER) && !defined(va_copy)
|
||||
# define va_copy __va_copy
|
||||
#endif
|
||||
|
||||
using namespace CPlusPlus;
|
||||
|
||||
Reference in New Issue
Block a user