On Thursday 10 May 2007 17:25, Trevor Kellaway wrote:
...
> However, this has exposed a bug/issue, my list of dependencies includes
> some custom commands, one of which has a non-standard language extension
> ".lint", this is causing a crash here:
>
> cmTarget.cxx line 1252 in cmTarget::ComputeObjectFiles()
>
>       cmSourceFile* sf = *s;
>       const char* lang = this->Makefile->GetLocalGenerator()->
>         GetGlobalGenerator()->
>         GetLanguageFromExtension(sf->GetSourceExtension().c_str());
> L1252:  std::string lookupObj = objExtensionLookup1 + lang;
>
> lang is 0x00000000, as the extension lookup has failed.
>
> Would you like me to raise a bug report for this?

Fixed in cvs, thanks for the report.

Bye
Alex
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to