| Attached Files | 0001-added-support-for-ms-compiler-option-Zc-wchar_t.patch [^] (1,006 bytes) 2010-03-09 15:10 [Show Content] [Hide Content]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
0002-added-support-for-the-ms-compiler-stringpooling-opti.patch [^] (965 bytes) 2010-03-09 15:10 [Show Content] [Hide Content]From 5388fedc8bc9c839b4c4034c5aff6535655daacf Mon Sep 17 00:00:00 2001
From: herbst <template.meta.programmer@googlemail.com>
Date: Tue, 9 Mar 2010 21:00:56 +0100
Subject: [PATCH 2/2] added support for the ms compiler stringpooling option
---
Source/cmLocalVisualStudio7Generator.cxx | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 1af0d1d..545d2cf 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -447,6 +447,7 @@ cmVS7FlagTable cmLocalVisualStudio7GeneratorFlagTable[] =
{"SuppressStartupBanner", "nologo", "SuppressStartupBanner", "TRUE", 0},
{"WarnAsError", "WX", "Treat warnings as errors", "TRUE", 0},
{"BrowseInformation", "FR", "Generate browse information", "1", 0},
+ {"StringPooling", "GF", "Enable StringPooling", "true", 0},
{0,0,0,0,0}
};
--
1.6.5.1.1367.gcd48
|