View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003476CMakeCMakepublic2006-07-03 10:192006-10-12 15:30
ReporterMalte Clasen 
Assigned ToSystem Admin 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003476: CMAKE_CFG_INTDIR crash in cmGlobalGenerator.cxx
DescriptionThere are three places in cmGlobalGenerator.cxx where cmakeCfgIntDir is evaluated in the if()-clause and mf->GetDefinition("CMAKE_CFG_INTDIR") is used inside the following block. This call returns a null pointer in a quite complex build script (I wasn't able to create a minimal example). I just replaced the call by the tested variable and it seems to work fine, although I have absolutely no idea what's going on here...

----- one of the places I modified
    if(cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[0] != '.')
      {
      singleLine.push_back("-C");
    singleLine.push_back(cmakeCfgIntDir);
      //singleLine.push_back(mf->GetDefinition("CMAKE_CFG_INTDIR"));
      }

    }
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0005134)
Bill Hoffman (manager)
2006-10-04 11:40

This looks like cpack global target stuff, can you take a look?
(0005135)
Bill Hoffman (manager)
2006-10-04 11:40

I meant to say, Andy take a look.
(0005386)
System Admin (reporter)
2006-10-12 15:30

Fixed....

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team