From 740aadb7cdd875b72f146d99c981e598f622886a Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 11 Aug 2010 21:14:53 +0200 Subject: 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 --- src/shared/cplusplus/Parser.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/cplusplus/Parser.cpp') diff --git a/src/shared/cplusplus/Parser.cpp b/src/shared/cplusplus/Parser.cpp index 1155f1c09f..07b0a018a5 100644 --- a/src/shared/cplusplus/Parser.cpp +++ b/src/shared/cplusplus/Parser.cpp @@ -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 -- cgit v1.2.1