[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-buildsystem
Subject: Re: hidden visibility
From: Alexander Neundorf <neundorf () kde ! org>
Date: 2012-02-17 17:35:07
Message-ID: 201202171835.07738.neundorf () kde ! org
[Download RAW message or body]
On Friday 17 February 2012, Alexander Neundorf wrote:
...
> I'm not quite sure in the code above in which cases there is a "bad
> allocator", and whether "-Werror=return-type -fvisibility-inlines-hidden"
> is something everybody should do or not.
>
> Alex
Two hints: in cmake master the compiler version is detected automatically, the
result is put in CMAKE_[C|CXX]_COMPILER_VERSION. Maybe you can just use this.
Also, instead of
get_filename_component(_GENERATE_EXPORT_HEADER_MODULE_DIR
"${CMAKE_CURRENT_LIST_FILE}" PATH)
since cmake 2.8.3 or so, you can simply do
set(_GENERATE_EXPORT_HEADER_MODULE_DIR
"${CMAKE_CURRENT_LIST_DIR}")
Alex
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic