From f034b0f66338f37d4f637916cc42b9c4a4f30a32 Mon Sep 17 00:00:00 2001 From: Marc Chevrier Date: Sat, 14 Mar 2020 17:20:49 +0100 Subject: CMake compilation: do not use compiler extensions For now, compiler extensions are no longer activated on CMake sources. However these extensions are still used for various third parties. This MR is a partial answer to the issue #20454. --- Utilities/std/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Utilities/std') diff --git a/Utilities/std/CMakeLists.txt b/Utilities/std/CMakeLists.txt index 63c0a60eae..a72abb74b3 100644 --- a/Utilities/std/CMakeLists.txt +++ b/Utilities/std/CMakeLists.txt @@ -1,4 +1,8 @@ +# To ensure maximum portability across various compilers and platforms +# deactivate any compiler extensions +set(CMAKE_CXX_EXTENSIONS FALSE) + # source files for CMake std library set(SRCS cm/bits/string_view.cxx cm/memory -- cgit v1.2.1