Boost logo

Boost :

Subject: Re: [boost] [test] minimal.hpp causing unresolved external with Intel on Windows
From: Beman Dawes (bdawes_at_[hidden])
Date: 2008-11-29 17:51:37


On Sat, Nov 29, 2008 at 3:28 PM, Steven Watanabe <watanabesj_at_[hidden]>wrote:

> 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.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk