Update: Using C++26 with contracts enabled

This commit is contained in:
David Gil de Gómez Pérez
2026-08-12 13:19:12 +03:00
parent ea0e601850
commit 583f8d73db
5 changed files with 76 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# Use GCC 16 for C++26 contracts support on macOS (Homebrew).
set(CMAKE_C_COMPILER "/opt/homebrew/bin/gcc-16" CACHE FILEPATH "C compiler")
set(CMAKE_CXX_COMPILER "/opt/homebrew/bin/g++-16" CACHE FILEPATH "C++ compiler")