- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1>H:\\Third_party_src\\Intel\\tbb30\\include\\tbb/enumerable_thread_specific.h(109) : error C2059: syntax error : 'constant'
1> H:\\Third_party_src\\Intel\\tbb30\\include\\tbb/enumerable_thread_specific.h(147) : see reference to class template instantiation 'tbb::interface6::internal::ets_base' being compiled
1>H:\\Third_party_src\\Intel\\tbb30\\include\\tbb/enumerable_thread_specific.h(109) : error C2059: syntax error : 'constant'
1> H:\\Third_party_src\\Intel\\tbb30\\include\\tbb/enumerable_thread_specific.h(229) : see reference to class template instantiation 'tbb::interface6::internal::ets_base' being compiled
1> with
1> [
1> ETS_key_type=ets_no_key
1> ]
1> H:\\Third_party_src\\Intel\\tbb30\\include\\tbb/enumerable_thread_specific.h(147) : see reference to class template instantiation 'tbb::interface6::internal::ets_base
1>H:\\Third_party_src\\Intel\\tbb30\\include\\tbb/enumerable_thread_specific.h(109) : error C2059: syntax error : 'constant'
1> H:\\Third_party_src\\Intel\\tbb30\\include\\tbb/enumerable_thread_specific.h(229) : see reference to class template instantiation 'tbb::interface6::internal::ets_base
1> with
1> [
1> ETS_key_type=ets_no_key
1> ]
the problem is: crtdbg.h with _CRTDBG_MAP_ALLOCdefined do:
#define free(p) _free_dbg(p, _NORMAL_BLOCK)
This define corrupts function free() inside oftbb::interface6::internal::ets_base<>
Is it possible to fix? (may be in future release)
Best Regards,
Maxim
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems possible - I think we can use push_macro/pop_macro pragmas that fortunately are supported by MSVC, GCC, and Intel's compiler.

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