Update: Using C++26 with contracts enabled

This commit is contained in:
David Gil de Gómez Pérez committed 2026-08-12 13:19:12 +03:00
1 parent ea0e601850
commit 583f8d73db
5 files changed
+76

No files matched your search

+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")