diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-08-11 21:14:53 +0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-08-11 21:14:53 +0200 |
commit | 740aadb7cdd875b72f146d99c981e598f622886a (patch) | |
tree | 2c3f495bb8f2d66b3a6e91263a7a4aeaa401b3c4 /src/shared/cplusplus/Parser.cpp | |
parent | 25433ca87cb3fe3f02a1c4abe30b43fc48b4806c (diff) | |
download | qt-creator-740aadb7cdd875b72f146d99c981e598f622886a.tar.gz |
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
Diffstat (limited to 'src/shared/cplusplus/Parser.cpp')
-rw-r--r-- | src/shared/cplusplus/Parser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |