Boost logo

Boost-Build :

Subject: Re: [Boost-build] cxxflags bug ?
From: Paulo Márcio Figueiredo Alves (pauloalves1986_at_[hidden])
Date: 2011-04-08 09:33:28


It's missing some information. It just fails if I use conditional, like:
<toolset>msvc:<cxxflags>/Zc:wchar_t-

I'm sending a sample now, the expected output is:

...
main.cc(2) : error C2065: 'wchar_t' : undeclared identifier
main.cc(2) : error C2146: syntax error : missing ';' before identifier 'tmp'
main.cc(2) : error C2065: 'tmp' : undeclared identifier
...

but it does not occur.

# project-root.jam
exe cxxflags_bug : main.cc : <toolset>msvc:<cxxflags>/Zc:wchar_t- ;

# main.cc
void main() { wchar_t tmp = '\0'; }




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