
Roland Schwarz <roland.schwarz@chello.at> 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