- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ouch! you're right. It's solved now, thx!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page