Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Zhu_W_Intel
Employee
82 Views

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.
0 Kudos
1 Reply
Alexey_K_Intel3
Employee
82 Views

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.
Reply