GenerateExportHeader and clang

Alex Merry alex.merry at kde.org
Sun May 18 17:56:08 UTC 2014


On 18/05/14 18:42, Ivan Čukić wrote:
> On Sunday 18 May 2014 18:28:00 Alex Merry wrote:
>> Nope, all looks fine to me when I build KCoreAddons. Configure output has:
> 
> Fun. For me both 3.4 and 3.5 (trunk) fail.
> 
> -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
> -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Failed
> -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
> -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Failed
> -- Performing Test COMPILER_HAS_DEPRECATED_ATTR
> -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success

Although if they fail, I think hidden visibility shouldn't be turned on,
and so all the symbols should be exported.

Anyway, the relevant file is CMakeFiles/CMakeOutput.log in the build
directory (search for COMPILER_HAS_HIDDEN_VISIBILITY).

Alex



More information about the Kde-frameworks-devel mailing list