[cmake-developers] Commit 4c98de33: cmLocalGenerator: fix the default configuration check

Roman Wüger roman.wueger at gmx.at
Mon Feb 2 17:47:15 EST 2015


Hello Ben,

 

I think the change is also required for the following line (line 424):

 

if(!default_config && !configurationTypes.empty())

 

Because here the „default_config“ could also be a valid pointer with an
empty content/string.

Nevertheless I had already posted a working patch which uses a std::vector
and std::string instead to prevent such pointer problems.

 

Best Regards

Roman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150202/f8827830/attachment.html>


More information about the cmake-developers mailing list