summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglfunctions.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2025-11-18 11:25:29 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2025-12-10 21:33:07 +0000
commit21490253052e8076c5967d01522e68e725ef9252 (patch)
tree2b6c4872d31ce065ecb3f6628d14d67754482eab /src/gui/opengl/qopenglfunctions.cpp
parent1d4bbf3a885fbd569885d4bcc05681df80c6ad19 (diff)
cmake: don't error out on deprecated macros
We exclude -Wdeprecated-declarations from -Werror builds, so we should also exclude deprecated macros (#pragma clang deprecated(MACRO_NAME)), soon to be used to deprecate Q_FLAGS/Q_ENUMS, as well. Do so. This feature (and therefore the -Wno-error flag for it) was introduced in LLVM Clang 14, which also aligns with AppleClang version 14 in this specific instance, so we can use a single version check. Task-number: QTBUG-99060 Pick-to: 6.11 6.10 6.8 6.5 Change-Id: I9d4d1af5923b8f9523faf8f8415c168b19959652 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/gui/opengl/qopenglfunctions.cpp')
0 files changed, 0 insertions, 0 deletions