summaryrefslogtreecommitdiff
path: root/Source/cmMakeDepend.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-09-10 15:37:28 -0400
committerBrad King <brad.king@kitware.com>2002-09-10 15:37:28 -0400
commiteb1ff5f968e567ea441d86eb856c3fd3fb731e4a (patch)
tree847ef654db030ff391b54bf13ea907f93f1c5dcb /Source/cmMakeDepend.cxx
parent929a2b18f6163f28727c42115fd8004b48b79241 (diff)
downloadcmake-eb1ff5f968e567ea441d86eb856c3fd3fb731e4a.tar.gz
ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot be compared directly with other pointer types. We use 0 instead.
Diffstat (limited to 'Source/cmMakeDepend.cxx')
-rw-r--r--Source/cmMakeDepend.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakeDepend.cxx b/Source/cmMakeDepend.cxx
index b40db88df1..c6e8587813 100644
--- a/Source/cmMakeDepend.cxx
+++ b/Source/cmMakeDepend.cxx
@@ -80,7 +80,7 @@ void cmMakeDepend::SetMakefile(const cmMakefile* makefile)
const cmDependInformation* cmMakeDepend::FindDependencies(const char* file)
{
- cmDependInformation* info = this->GetDependInformation(file,NULL);
+ cmDependInformation* info = this->GetDependInformation(file,0);
this->GenerateDependInformation(info);
return info;
}
@@ -280,7 +280,7 @@ void cmMakeDepend::GenerateMakefileDependencies()
if(!(*i)->GetPropertyAsBool("HEADER_FILE_ONLY"))
{
cmDependInformation* info =
- this->GetDependInformation((*i)->GetFullPath().c_str(),NULL);
+ this->GetDependInformation((*i)->GetFullPath().c_str(),0);
this->AddFileToSearchPath(info->m_FullPath.c_str());
info->m_cmSourceFile = *i;
this->GenerateDependInformation(info);