Re: [boost] anonymous namespaces and Intel C++ 8

30 Mar
2004
30 Mar
'04
3:21 p.m.
On Dec 14, 2003, at 9:55 PM, Matthias Troyer wrote:
In trying to get our boost-based codes to compile with Intel C++ version 8 I realized one important restriction of that compiler with anonymous namespaces (used in boost for the placeholder symbols _1, _2,... ). With Intel C++ version 8 these anonymous namespace symbols give multiple definition errors at link time if they occur in two different object files with the same name (even if one of these object files is part of a static library (.a file). The only solution I could find is to rename all my source files that clashed with file names inside libraries. Does anybody know a better workaround?
I want to report that this bug has been fixed in the latest release. Matthias
7747
Age (days ago)
7747
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matthias Troyer