KF5 modules development branches now build in C++17 mode (but keep public headers compatible)

Ahmad Samir a.samirh78 at gmail.com
Sun Jun 20 13:24:26 BST 2021


On 20/06/2021 12:36, Albert Astals Cid wrote:
[...]
> 
> Semi-related question, does anyone know why we're not using
>    set(CMAKE_CXX_EXTENSIONS OFF)
> ?
> 

Good question. Given there _are_ differences between libstdc++ (gcc) and libc++ (clang) and 
sometimes we have issues due to those differences, it does make sense to disable compiler specific 
extensions.

> Cheers,
>    Albert
 >


-- 
Ahmad Samir


More information about the Kde-frameworks-devel mailing list