Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jogshy
New Contributor I
66 Views

VS2008 warning

Jump to solution
I get these warnings when I compile my program with TBB:

1>d:\\tbb30_20101215oss\\include\\tbb\\concurrent_unordered_map.h(135) : warning C4002: too many actual parameters for macro 'base_type'
1>d:\\tbb30_20101215oss\\include\\tbb\\concurrent_unordered_map.h(139) : warning C4002: too many actual parameters for macro 'base_type'
1>d:\\tbb30_20101215oss\\include\\tbb\\concurrent_unordered_map.h(146) : warning C4002: too many actual parameters for macro 'base_type'
1>d:\\tbb30_20101215oss\\include\\tbb\\concurrent_unordered_map.h(157) : warning C4002: too many actual parameters for macro 'base_type'

Seems you're passing too many params to the concurrent_unordered_map's base class constructor.
thx
0 Kudos
1 Solution
Alexey_K_Intel3
Employee
66 Views

Rather it seems you have a macro with the same name (base_type) as a typedef in TBB, and defined before the TBB header is included.

View solution in original post

2 Replies
Alexey_K_Intel3
Employee
67 Views

Rather it seems you have a macro with the same name (base_type) as a typedef in TBB, and defined before the TBB header is included.

View solution in original post

jogshy
New Contributor I
66 Views
Ouch! you're right. It's solved now, thx!
Reply