diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-12-18 09:48:20 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-12-19 08:37:37 +0100 |
| commit | 752de4a0aabc305af16251a55edf247e043b1b18 (patch) | |
| tree | 81aa8ad061d98bef6221daa994b651e4bcd58768 /src/sql/kernel/qsqldriver.cpp | |
| parent | 0f416cbaaba46ddb039bbf33e1d70dbe80821d57 (diff) | |
Protect QT_ENABLE_STRICT_MODE_UP_TO against predefined individual opt-outs [6.9]
Since some of the Qt opt-outs are defined project-wide by the
buildsystem these days (e.g. QT_NO_QSNPRINF, ...), a module that
attempts to use QT_ENABLE_STRICT_MODE_UP_TO will hit warnings
regarding re-definition of these macros (definition on the compiler
command line, redefinition by qtconfigmacros.h).
To fix, guard the #define QT_NO_FOO's with #ifndef QT_NO_FOO.
Amends bd7d54249e3f2b6a9dd6b759c892d7c97d26c0aa (which was also picked
to 6.8).
Pick-to: 6.9 6.8
Change-Id: I88276c9ed01edde1495105cf5bd1e07b1fd244f4
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/sql/kernel/qsqldriver.cpp')
0 files changed, 0 insertions, 0 deletions
