Initialize the warning variables earlier
This commit is contained in:
parent
cbb286c0b2
commit
535253f385
@ -56,6 +56,10 @@ cmMakefile::cmMakefile(): Internal(new Internals)
|
|||||||
this->Internal->VarInitStack.push(globalKeys);
|
this->Internal->VarInitStack.push(globalKeys);
|
||||||
this->Internal->VarUsageStack.push(globalKeys);
|
this->Internal->VarUsageStack.push(globalKeys);
|
||||||
|
|
||||||
|
// Initialize these first since AddDefaultDefinitions calls AddDefinition
|
||||||
|
this->WarnUnused = false;
|
||||||
|
this->CheckSystemVars = false;
|
||||||
|
|
||||||
// Setup the default include file regular expression (match everything).
|
// Setup the default include file regular expression (match everything).
|
||||||
this->IncludeFileRegularExpression = "^.*$";
|
this->IncludeFileRegularExpression = "^.*$";
|
||||||
// Setup the default include complaint regular expression (match nothing).
|
// Setup the default include complaint regular expression (match nothing).
|
||||||
@ -92,8 +96,6 @@ cmMakefile::cmMakefile(): Internal(new Internals)
|
|||||||
this->AddDefaultDefinitions();
|
this->AddDefaultDefinitions();
|
||||||
this->Initialize();
|
this->Initialize();
|
||||||
this->PreOrder = false;
|
this->PreOrder = false;
|
||||||
this->WarnUnused = false;
|
|
||||||
this->CheckSystemVars = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cmMakefile::cmMakefile(const cmMakefile& mf): Internal(new Internals)
|
cmMakefile::cmMakefile(const cmMakefile& mf): Internal(new Internals)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user