
AMDG Beman Dawes wrote:
The little program below compiles and runs fine on most compilers, but with the Intel compiler there is an unresolved external:
test.obj : error LNK2019: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) referenced in function _main test.exe : fatal error LNK1120: 1 unresolved externals
Sounds like BOOST_NO_EXCEPTIONS is defined?
Yes, but where and why? It isn't coming from the command line.I invoked the compilers directly, not via bjam, so it isn't a Boost.Build problem. I did a quick scan through the test headers and didn't see anything at all suspicious.
Well, I grepped through the headers and only boost/config/compiler/*.hpp sets BOOST_NO_EXCEPTIONS. I don't see how it's possible for it to be defined. Have you checked directly that it is defined? In Christ, Steven Watanabe