Commit 740aadb7 authored by Thiago Macieira's avatar Thiago Macieira

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
parent 25433ca8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment