compiling error on Windows

compiling error on Windows

I am using TBB 2.1 on Windows, compiling with VS 2005. Got this error when I compile my project:
c:\program files\intel\tbb\2.1\include\tbb\tbb_stddef.h(125) : error C2632: '__int64' followed by 'long' is illegal
1>c:\program files\intel\tbb\2.1\include\tbb\tbb_stddef.h(125) : error C2632: '__int64' followed by 'long' is illegal
1>c:\program files\intel\tbb\2.1\include\tbb\tbb_stddef.h(125) : error C2632: '__int64' followed by 'int' is illegal

Please help.

Did anyone see this before? I can't find a way to search this forum. Sorry if many people have asked this before.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

My guess is that somehow int64_t is already #defined as either int or long before inclusion of tbb_stddef.h. Hard to say something more definite without seeing code. Note I was unable to find such a #define in VS headers, so I'd guess it can happen in some other header you include, or directly in the code.

Leave a Comment

Please sign in to add a comment. Not a member? Join today