diff options
author | Brad King <brad.king@kitware.com> | 2002-09-10 19:37:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-09-10 19:37:28 (GMT) |
commit | eb1ff5f968e567ea441d86eb856c3fd3fb731e4a (patch) | |
tree | 847ef654db030ff391b54bf13ea907f93f1c5dcb /Source/cmMakeDepend.cxx | |
parent | 929a2b18f6163f28727c42115fd8004b48b79241 (diff) | |
download | CMake-eb1ff5f968e567ea441d86eb856c3fd3fb731e4a.zip CMake-eb1ff5f968e567ea441d86eb856c3fd3fb731e4a.tar.gz CMake-eb1ff5f968e567ea441d86eb856c3fd3fb731e4a.tar.bz2 |
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.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakeDepend.cxx b/Source/cmMakeDepend.cxx index b40db88..c6e8587 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); |