﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
224	cxxflags bug when using conditional	Md Abdur Rahim	somebody	"# project-root.jam
exe cxxflags_bug : main.cc : <toolset>msvc:<cxxflags>/Zc:wchar_t- ;

# main.cc
void main() { wchar_t tmp = '\0'; }

An error is expected:
  main.cc(1) : error C2065: 'wchar_t' : undeclared identifier
but it does not happen.

An workaround propoused by Gevorg Voskanyan:
""
  A workaround is to embed the flags value in quotes and append a trailing space inside:

    #project-root.jam
    exe cxxflags_bug : main.cc : <toolset>msvc:<cxxflags>""/Zc:wchar_t- "" ;
""

Version:
Boost.Build engine (bjam) is 03.1.19
Boost.Build core (at d:/boost-build-trunk) is 2011.04-svn


Paulo Márcio Figueiredo Alves
pauloalves1986@gmail.com"	defect	new	major		component1				
