[cmake-commits] hoffman committed cmLocalVisualStudio6Generator.cxx
1.100.2.6 1.100.2.7
cmake-commits at cmake.org
cmake-commits at cmake.org
Sat Mar 17 12:18:36 EST 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv13515
Modified Files:
Tag: CMake-2-4
cmLocalVisualStudio6Generator.cxx
Log Message:
ENH: remove seg fault I hope
Index: cmLocalVisualStudio6Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalVisualStudio6Generator.cxx,v
retrieving revision 1.100.2.6
retrieving revision 1.100.2.7
diff -u -d -r1.100.2.6 -r1.100.2.7
--- cmLocalVisualStudio6Generator.cxx 16 Mar 2007 22:05:42 -0000 1.100.2.6
+++ cmLocalVisualStudio6Generator.cxx 17 Mar 2007 17:18:33 -0000 1.100.2.7
@@ -427,7 +427,7 @@
// force a C++ file type
compileFlags += " /TP ";
}
- else if(strcmp(lang, "C") == 0)
+ else if(lang && strcmp(lang, "C") == 0)
{
// force to c file type
compileFlags += " /TC ";
More information about the Cmake-commits
mailing list