$NetBSD: patch-CMakeLists.txt,v 1.2 2022/10/05 08:32:33 fcambus Exp $ Do not disable extensions, needs gnu++17 for alloca(3). --- CMakeLists.txt.orig 2022-09-30 21:24:30.000000000 +0000 +++ CMakeLists.txt @@ -146,7 +146,7 @@ else () -Wall -Wextra -Wno-unused-parameter -Wpointer-arith -Wuninitialized ) - set(CMAKE_CXX_EXTENSIONS OFF) + set(CMAKE_CXX_EXTENSIONS ON) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wold-style-cast") if (NOT WITH_EXCEPTIONS)