[mapguide-commits] r8742 - sandbox/VC140/Oem/DWFTK/develop/global/build/VC 14.0/DWFToolkit

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Aug 13 02:31:47 PDT 2015


Author: christinebao
Date: 2015-08-13 02:31:47 -0700 (Thu, 13 Aug 2015)
New Revision: 8742

Modified:
   sandbox/VC140/Oem/DWFTK/develop/global/build/VC 14.0/DWFToolkit/DWFToolkit.vcxproj
Log:
RFC 150: MapGuide RFC 150 - Support Visual Studio 2015 
http://trac.osgeo.org/mapguide/wiki/MapGuideRfc150

Fix build error due to warning "C4458: declaration of 'nativeCap' hides class member". 
c:\program files (x86)\windows kits\8.1\include\um\GdiplusHeaders.h(695): error C2220: warning treated as error - no 'object' file generated
1>c:\program files (x86)\windows kits\8.1\include\um\GdiplusHeaders.h(695): warning C4458: declaration of 'nativeCap' hides class member
1>  c:\program files (x86)\windows kits\8.1\include\um\GdiplusHeaders.h(695): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
1>  c:\program files (x86)\windows kits\8.1\include\um\GdiplusHeaders.h(710): note: see declaration of 'Gdiplus::CustomLineCap::nativeCap'

The file which causes this warning is system file, cannot be modified. To avoid build error set project to not treat warning as error. 

Modified: sandbox/VC140/Oem/DWFTK/develop/global/build/VC 14.0/DWFToolkit/DWFToolkit.vcxproj
===================================================================
--- sandbox/VC140/Oem/DWFTK/develop/global/build/VC 14.0/DWFToolkit/DWFToolkit.vcxproj	2015-08-12 17:10:40 UTC (rev 8741)
+++ sandbox/VC140/Oem/DWFTK/develop/global/build/VC 14.0/DWFToolkit/DWFToolkit.vcxproj	2015-08-13 09:31:47 UTC (rev 8742)
@@ -1195,7 +1195,7 @@
       </PrecompiledHeaderOutputFile>
       <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
       <WarningLevel>Level4</WarningLevel>
-      <TreatWarningAsError>true</TreatWarningAsError>
+      <TreatWarningAsError>false</TreatWarningAsError>
       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
       <CompileAs>CompileAsCpp</CompileAs>
       <DisableSpecificWarnings>4290;4571;%(DisableSpecificWarnings)</DisableSpecificWarnings>
@@ -1236,7 +1236,7 @@
       </PrecompiledHeaderOutputFile>
       <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
       <WarningLevel>Level4</WarningLevel>
-      <TreatWarningAsError>true</TreatWarningAsError>
+      <TreatWarningAsError>false</TreatWarningAsError>
       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
       <CompileAs>CompileAsCpp</CompileAs>
       <DisableSpecificWarnings>4290;4571;%(DisableSpecificWarnings)</DisableSpecificWarnings>
@@ -1276,7 +1276,7 @@
       </PrecompiledHeaderOutputFile>
       <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
       <WarningLevel>Level4</WarningLevel>
-      <TreatWarningAsError>true</TreatWarningAsError>
+      <TreatWarningAsError>false</TreatWarningAsError>
       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
       <CompileAs>CompileAsCpp</CompileAs>
       <DisableSpecificWarnings>4290;4571;%(DisableSpecificWarnings)</DisableSpecificWarnings>
@@ -1318,7 +1318,7 @@
       </PrecompiledHeaderOutputFile>
       <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
       <WarningLevel>Level4</WarningLevel>
-      <TreatWarningAsError>true</TreatWarningAsError>
+      <TreatWarningAsError>false</TreatWarningAsError>
       <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
       <CompileAs>CompileAsCpp</CompileAs>
       <DisableSpecificWarnings>4290;4571;%(DisableSpecificWarnings)</DisableSpecificWarnings>



More information about the mapguide-commits mailing list