From ea9de57750775dd80e83f6b6d5bd930a221b6f32 Mon Sep 17 00:00:00 2001 From: Sebastian Herbst Date: Tue, 9 Mar 2010 20:59:01 +0100 Subject: [PATCH] VS8/9: Add flag map entries for /Zc:wchar_t (#10397) --- Source/cmGlobalVisualStudio8Generator.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index b066179a7..ef723b7dc 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -358,8 +358,14 @@ static cmVS7FlagTable cmVS8ExtraFlagTable[] = {"ExceptionHandling", "EHsc", "enable c++ exceptions", "1", 0}, {"ExceptionHandling", "EHa", "enable SEH exceptions", "2", 0}, - {"EnablePREfast", "analyze", "", "TRUE", 0}, - {"EnablePREfast", "analyze-", "", "FALSE", 0}, + {"EnablePREfast", "analyze", "", "true", 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} };