Boost logo

Boost-Build :

From: Bojan Resnik (resnikb_at_[hidden])
Date: 2005-09-28 06:33:31


2005/9/28, Vladimir Prus <ghost_at_[hidden]>:
> Can you check if have the following registry keys:
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual
> C++"\ProductDir
>
> and
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Setup\VC\ProductDir
>
> Also, how did you install the compilers? With regular install?
>

Both keys are present, and point to the correct locations. The
products were installed regularly.

> > Although there is no mention of either /Ze or /Za in the command line.
>
> I'm at lost. Anybody has an idea?

I fiddled some more with this and noticed that the actual command line is:

cl /Zm800 -nologo -TP /Z7 /Od /Ob0 /W4 /GR /MDd /Zc:forScope
/Zc:wchar_t /Wp64 /wd4675

The "/Ze and /Za" error appeared because both /Zc options above are
not recognized by the compiler - they are specific to MSVC 7 and
newer. I put an "ECHO $(version) ;" in msvc.jam just above the
condition that enables these options, and it seems that the compilers
are correctly recognized as "6" and "7.1". I am not sure why the /Zc
flags are still added, though. The /Wp64 and /wd4675 should also be
reserved for MSVC newer than 6.

--
Bojan Resnik
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk