Raul Tambre
4a0485be7f
cmStandardLevelResolver: Avoid unnecessary flags, fix unset level logic
...
The changes are part of CMP0128.
When the standard level is unset:
* Flags are added if extension mode doesn't match the compiler's default.
Previously logic only worked if LANG_EXTENSIONS was ON. Fixes #22224 .
* The full flag is used. Previously CMAKE_LANG_EXTENSION_COMPILE_OPTION was
used. This was only supported for IAR.
Otherwise:
* Avoid adding flags if not necessary per the detected compiler defaults.
* Fixed check for when the requested standard is older. It now matches the
nearby comments.
I reworded the fallback comment as its logic was a bit difficult to wrap my
head around.
2021-09-29 22:28:40 +03:00
..
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-04-04 15:13:58 +02:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-04-04 15:13:58 +02:00
2019-04-04 15:13:58 +02:00
2019-03-27 16:01:20 +01:00
2019-04-04 15:13:58 +02:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2021-02-05 16:05:25 -05:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2015-06-09 09:29:41 -04:00
2015-06-09 09:29:41 -04:00
2015-06-09 09:29:41 -04:00
2015-06-09 09:29:41 -04:00
2015-06-09 09:29:41 -04:00
2015-06-09 09:29:41 -04:00
2015-06-09 09:29:41 -04:00
2015-06-09 09:29:41 -04:00
2019-04-04 15:13:58 +02:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2017-10-26 09:47:29 -04:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2019-03-27 16:01:20 +01:00
2021-02-05 16:05:25 -05:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2021-07-17 17:18:22 +10:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-22 12:44:47 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2021-06-28 08:17:25 -04:00
2020-07-06 10:23:20 -04:00
2021-04-20 13:25:53 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2020-07-06 10:23:20 -04:00
2021-05-07 17:00:17 +02:00
2020-10-16 08:26:00 -04:00
2020-12-07 09:50:39 -05:00
2020-09-08 15:38:40 -04:00
2020-10-24 22:58:42 +11:00
2020-10-13 09:46:54 -04:00
2021-02-23 09:17:12 -05:00
2020-11-13 11:46:23 -05:00
2021-03-18 10:00:02 -04:00
2020-12-02 11:39:11 -05:00
2020-12-05 21:57:08 +11:00
2021-05-07 17:00:17 +02:00
2021-03-26 16:27:18 +01:00
2021-04-27 14:03:15 -04:00
2021-07-17 16:43:25 +10:00
2021-07-17 16:43:25 +10:00
2021-07-17 17:18:22 +10:00
2021-09-10 09:46:55 -04:00
2021-09-29 22:28:40 +03:00
2015-06-09 09:29:41 -04:00
2019-03-27 16:01:20 +01:00