Skip to content

XL: C++14 language level flags are only available on Linux

Brad King requested to merge brad.king/cmake:xl-cxx14 into master

Since !3235 (merged) we use -qlanglvl=extended1y for C++14 with XL 16.1. However, that flag is only supported on a Linux host.

Also add a comment explaining the motivation in !3176 (merged) for pretending that XL has full C++11/14 support to work around our lack of a full table of granular feature checks for this compiler.

Issue: #20521
Backport: release

Merge request reports