diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-11-02 13:49:36 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-11-02 16:22:59 +0100 |
commit | d3046cbe88c5db3e159076457ae012491c53461e (patch) | |
tree | 596bb10d07db537349d091b6faca183b1c93ceb3 /config_help.txt | |
parent | ebfd0b14aadc8d7e1415fa6a698038dffd251cb0 (diff) |
Do not #define dynamic_cast
It's illegal. [macro.names]/2:
"A translation unit shall not #define or #undef names lexically
identical to keywords"
If someone tries to use dynamic_cast in a no-rtti scenario, let's
just have the compiler yell at them for that.
Change-Id: I70a7b55a93d34c433e874d379acae8b256620f80
Pick-to: 5.15
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'config_help.txt')
0 files changed, 0 insertions, 0 deletions