Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-12-16 09:30:30

Matthias Troyer wrote:
> Dear Boosters,
> 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?

Not for the general problem, but for bind, look at the two workaround paths
in boost/bind/placeholders.hpp, maybe one of them will work for you.

Boost list run by bdawes at, gregod at, cpdaniel at, john at