[cmake-commits] hoffman committed cmDependsFortran.cxx 1.41 1.42
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Jan 8 08:25:09 EST 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv4876
Modified Files:
cmDependsFortran.cxx
Log Message:
BUG: make it compile on vs 6
Index: cmDependsFortran.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDependsFortran.cxx,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- cmDependsFortran.cxx 7 Jan 2008 16:36:17 -0000 1.41
+++ cmDependsFortran.cxx 8 Jan 2008 13:25:07 -0000 1.42
@@ -761,7 +761,7 @@
* source is compiled twice
* -SunPro
*/
- if(std::strcmp(compilerId, "SunPro") == 0)
+ if(strcmp(compilerId, "SunPro") == 0)
{
return cmSystemTools::FilesDiffer(modFile, stampFile);
}
@@ -787,7 +787,7 @@
* Eat the stream content until all recompile only realated changes
* are left bedind.
*/
- if (std::strcmp(compilerId, "GNU") == 0 )
+ if (strcmp(compilerId, "GNU") == 0 )
{
const char seq[1] = {'\n'};
const int seqlen = 1;
@@ -806,7 +806,7 @@
return true;
}
}
- else if(std::strcmp(compilerId, "Intel") == 0)
+ else if(strcmp(compilerId, "Intel") == 0)
{
const char seq[2] = {'\n', '\0'};
const int seqlen = 2;
More information about the Cmake-commits
mailing list