[Cmake-commits] [cmake-commits] martink committed cmIfCommand.cxx 1.95 1.96
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Jun 12 11:10:30 EDT 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv12452/Source
Modified Files:
cmIfCommand.cxx
Log Message:
ENH: warning fix
Index: cmIfCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmIfCommand.cxx,v
retrieving revision 1.95
retrieving revision 1.96
diff -C 2 -d -r1.95 -r1.96
*** cmIfCommand.cxx 12 Jun 2009 14:07:03 -0000 1.95
--- cmIfCommand.cxx 12 Jun 2009 15:10:26 -0000 1.96
***************
*** 84,91 ****
expandedArguments);
! cmake::MessageType status;
bool isTrue =
cmIfCommand::IsTrue(expandedArguments, errorString,
! &mf, status);
if (errorString.size())
--- 84,91 ----
expandedArguments);
! cmake::MessageType messType;
bool isTrue =
cmIfCommand::IsTrue(expandedArguments, errorString,
! &mf, messType);
if (errorString.size())
***************
*** 103,108 ****
err += errorString;
err += ").";
! mf.IssueMessage(status, err);
! if (status == cmake::FATAL_ERROR)
{
cmSystemTools::SetFatalErrorOccured();
--- 103,108 ----
err += errorString;
err += ").";
! mf.IssueMessage(messType, err);
! if (messType == cmake::FATAL_ERROR)
{
cmSystemTools::SetFatalErrorOccured();
More information about the Cmake-commits
mailing list