Ticket #9119: create_msvc_disable_language_extensions.patch
File create_msvc_disable_language_extensions.patch, 2.7 KB (added by , 14 years ago) |
---|
-
tools/create_msvc/create_msvc.cpp
849 849 850 850 // Win32 851 851 project << "\t\t<Configuration Name=\"Debug|Win32\" ConfigurationType=\"1\" InheritedPropertySheets=\".\\ScummVM_Debug.vsprops\">\n" 852 "\t\t\t<Tool\tName=\"VCCLCompilerTool\" DisableLanguageExtensions=\"false\" />\n" 852 853 "\t\t\t<Tool\tName=\"VCLinkerTool\" OutputFile=\"$(OutDir)/scummvm.exe\"\n" 853 854 "\t\t\t\tAdditionalDependencies=\"" << libraries << "\"\n" 854 855 "\t\t\t/>\n" 855 856 "\t\t</Configuration>\n" 856 857 "\t\t<Configuration Name=\"Release|Win32\" ConfigurationType=\"1\" InheritedPropertySheets=\".\\ScummVM_Release.vsprops\">\n" 858 "\t\t\t<Tool\tName=\"VCCLCompilerTool\" DisableLanguageExtensions=\"false\" />\n" 857 859 "\t\t\t<Tool\tName=\"VCLinkerTool\" OutputFile=\"$(OutDir)/scummvm.exe\"\n" 858 860 "\t\t\t\tAdditionalDependencies=\"" << libraries << "\"\n" 859 861 "\t\t\t/>\n" … … 864 866 // re-create the library list, BUT since NASM doesn't link any additional libraries, we can just use the 865 867 // libraries list created for IA-32. If that changes in the future, we need to adjust this part! 866 868 project << "\t\t<Configuration Name=\"Debug|x64\" ConfigurationType=\"1\" InheritedPropertySheets=\".\\ScummVM_Debug64.vsprops\">\n" 869 "\t\t\t<Tool\tName=\"VCCLCompilerTool\" DisableLanguageExtensions=\"false\" />\n" 867 870 "\t\t\t<Tool\tName=\"VCLinkerTool\" OutputFile=\"$(OutDir)/scummvm.exe\"\n" 868 871 "\t\t\t\tAdditionalDependencies=\"" << libraries << "\"\n" 869 872 "\t\t\t/>\n" 870 873 "\t\t</Configuration>\n" 871 874 "\t\t<Configuration Name=\"Release|x64\" ConfigurationType=\"1\" InheritedPropertySheets=\".\\ScummVM_Release64.vsprops\">\n" 875 "\t\t\t<Tool\tName=\"VCCLCompilerTool\" DisableLanguageExtensions=\"false\" />\n" 872 876 "\t\t\t<Tool\tName=\"VCLinkerTool\" OutputFile=\"$(OutDir)/scummvm.exe\"\n" 873 877 "\t\t\t\tAdditionalDependencies=\"" << libraries << "\"\n" 874 878 "\t\t\t/>\n" … … 935 939 "\t>\n" 936 940 "\t<Tool\n" 937 941 "\t\tName=\"VCCLCompilerTool\"\n" 942 "\t\tDisableLanguageExtensions=\"true\"\n" 938 943 "\t\tDisableSpecificWarnings=\"4068;4100;4103;4121;4127;4189;4201;4221;4244;4250;4267;4310;4351;4355;4510;4511;4512;4610;4701;4702;4706;4800;4996\"\n" 939 944 "\t\tAdditionalIncludeDirectories=\"" << prefix << ";" << prefix << "\\engines\"\n" 940 945 "\t\tPreprocessorDefinitions=\"" << defines << "\"\n"