From 639bc939e25d591efdf5dccf0e8a2232a4bccbeb Mon Sep 17 00:00:00 2001
From: herbst <template.meta.programmer@googlemail.com>
Date: Tue, 9 Mar 2010 20:59:01 +0100
Subject: [PATCH 1/2] added support for ms compiler option /Zc:wchar_t-

---
 Source/cmGlobalVisualStudio8Generator.cxx |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index e423174..51c6587 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -330,6 +330,9 @@ static cmVS7FlagTable cmVS8ExtraFlagTable[] =
   {"ExceptionHandling", "EHsc", "enable c++ exceptions", "1", 0},
   {"ExceptionHandling", "EHa", "enable SEH exceptions", "2", 0},
 
+  // Language options
+  {"TreatWChar_tAsBuiltInType", "Zc:wchar_t-", "wchar_t no built-in type", "false", 0},
+
   {0,0,0,0,0}
 };
 cmIDEFlagTable const* cmGlobalVisualStudio8Generator::GetExtraFlagTableVS8()
-- 
1.6.5.1.1367.gcd48

