GenerateExportHeader and clang

Alex Merry alex.merry at kde.org
Sun May 18 18:55:30 UTC 2014


On 18/05/14 19:07, Ivan Čukić wrote:
>> Although if they fail, I think hidden visibility shouldn't be turned on,
> 
> They are not for some reason. The symbol is visible through 'nm', but is 
> marked as 't' - local symbol in text area.
> 
>> Anyway, the relevant file is CMakeFiles/CMakeOutput.log in the build
> 
> Yes, just finished dealing with it.
> 
> Seems that the issue came from the -Wlogical-op option present in kdesrc-
> buildrc (copied dfaure's obviously :) )
> 
> But, this is strange. Clang just reports a warning (and the compilation 
> succeeds) for "unknown warning option '-Wlogical-op'", but the cmake test 
> somehow fails because of it. I've tested that compilation succeeds by calling 
> clang manually.

Ah, but what is clang's return value when there is an unrecognized option?

Alex



More information about the Kde-frameworks-devel mailing list