Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2006-12-15 08:39:31


Roland Schwarz <roland.schwarz_at_[hidden]> writes:

> Anthony Williams wrote:
>> I don't think so. The line number of the error is different (main.c line 494
>> rather than msc1.cpp line 1794).
>
> True. I got the 1794 after having tried to run with <optimization>off.

I've not seen that in what I've tried.

> The compiler help tells to run with /Bd to show the phase. Trying this
> gives me an access violation message box.

Same here.

> However the original message also indicates the P2 phase, which the
> compiler help pages says could be related to optimization.

Yes. It's the /Ob1 inline expansion switch (implied by /Ox or /O2) that causes
the problem. Pretty much any combination of other optimization switches is
fine.

Anthony

-- 
Anthony Williams
Software Developer
Just Software Solutions Ltd
http://www.justsoftwaresolutions.co.uk

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