$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [test] minimal.hpp causing unresolved external with Intel on Windows
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-11-29 19:50:57
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_at_boost@@YAXABVexception_at_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