mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 00:38:01 +00:00
e8655e9a70
The version is read by checking the macros __clang_major__, __clang_minor__ and __clang_patchlevel__. Hopefully they will have coherent values everywhere. For now, the version is used to set warnings a bit more reasonably for older clang versions, which do not support -Wdeprecated-register and some others that are used in pragmas in boost. This removes many warnings when compiling with clang 3.3.