VS8/9: Add flag map entries for /Zc:wchar_t (#10397)

This commit is contained in:
Sebastian Herbst 2010-03-09 20:59:01 +01:00 committed by David Cole
parent 15e422249e
commit ea9de57750
1 changed files with 8 additions and 2 deletions

View File

@ -358,8 +358,14 @@ static cmVS7FlagTable cmVS8ExtraFlagTable[] =
{"ExceptionHandling", "EHsc", "enable c++ exceptions", "1", 0}, {"ExceptionHandling", "EHsc", "enable c++ exceptions", "1", 0},
{"ExceptionHandling", "EHa", "enable SEH exceptions", "2", 0}, {"ExceptionHandling", "EHa", "enable SEH exceptions", "2", 0},
{"EnablePREfast", "analyze", "", "TRUE", 0}, {"EnablePREfast", "analyze", "", "true", 0},
{"EnablePREfast", "analyze-", "", "FALSE", 0}, {"EnablePREfast", "analyze-", "", "false", 0},
// Language options
{"TreatWChar_tAsBuiltInType", "Zc:wchar_t",
"wchar_t is a built-in type", "true", 0},
{"TreatWChar_tAsBuiltInType", "Zc:wchar_t-",
"wchar_t is not a built-in type", "false", 0},
{0,0,0,0,0} {0,0,0,0,0}
}; };