dfaure added a comment.
> Which might be an issue for people who would like to use different compiler on the same system, both building against the same generated export header file. I see the theoretical problem, but how could this ever be a problem in practice? On Unix all compilers support the same syntax (`__attribute__ ((__deprecated__))`), so you'd have to be on Windows, build a library with mingw, and then try to use it with MSVC, or vice-versa? I wonder if this even works. AFAIK it doesn't (hence the compiler-specific binary installers for Qt, for instance). Oh and if C++14 support is enabled, we could use `[[deprecated("use foo instead")]]` which is standard and portable :-) (requires C++17 for enums and namespaces) REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D23789 To: kossebau Cc: chehrlic, dfaure, cgiboudeaux, kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns