From e2c08b5f3a2f978e969175d4b61bd7e07815f1aa Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Mon, 21 Nov 2022 12:25:26 +0100 Subject: [PATCH] qcompilerdetection.h: de-duplicate feature test macro discussion Both links are valid for both C++14/17 and C++20+ variants, they're just sorted differently. Mention that. Pick-to: 6.4 Change-Id: Id88ec05f935fd6d01c0f1e733ca42faaaa88dd25 Reviewed-by: Giuseppe D'Angelo --- src/corelib/global/qcompilerdetection.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index b0df663242b..db856317be0 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -503,13 +503,13 @@ * * * For the C++ standards C++14 and C++17, we use only the SD-6 macro. - * For full listing, see - * http://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations * * For any future version of the C++ standard, we use only the C++20 feature test macro. * For library features, we assume is present (this header includes it). - * For full listing, see - * https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros + * + * For a full listing of feature test macros, see + * https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations (by macro) + * https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros (by C++ version) * * C++ extensions: * Q_COMPILER_RESTRICTED_VLA variable-length arrays, prior to __cpp_runtime_arrays