mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-17 15:32:10 +08:00
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.
This commit is contained in:
@@ -312,7 +312,7 @@ void cmExpandSourceListArguments(void *arg,
|
||||
}
|
||||
mf->ExpandSourceListArguments(args2, result, startArgumentIndex);
|
||||
int resargc = static_cast<int>(result.size());
|
||||
char **resargv = NULL;
|
||||
char **resargv = 0;
|
||||
if (resargc)
|
||||
{
|
||||
resargv = (char **)malloc(resargc*sizeof(char *));
|
||||
|
Reference in New Issue
Block a user