From b2689b69fe60afdae2526af4812680ccb4e463a4 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 9 Jan 2025 14:00:24 +0100 Subject: Switch to C++17 --- .ccls | 4 +++- Makefile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.ccls b/.ccls index b611b50..09e8f92 100644 --- a/.ccls +++ b/.ccls @@ -1,3 +1,5 @@ clang -%cpp -std=c++11 -Isrc -Isrc/imgui -Isrc/implot -Isrc/imgui/backends -Isrc/armadillo/include +%cpp -std=c++17 -Isrc -Isrc/imgui -Isrc/implot -Isrc/imgui/backends -Isrc/armadillo/include +%h -x +%h c++-header %h %hpp -Isrc -Isrc/imgui -Isrc/imgui/backends -Isrc/armadillo/include diff --git a/Makefile b/Makefile index 1567380..4b50ac1 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ EXE := fsisotool CXX := c++ -CXXFLAGS := -std=c++11 -Isrc -Isrc/imgui -Isrc/implot -Isrc/imgui/backends -Isrc/armadillo/include # -I src/slycot +CXXFLAGS := -std=c++17 -Isrc -Isrc/imgui -Isrc/implot -Isrc/imgui/backends -Isrc/armadillo/include # -I src/slycot CXXFLAGS += -g -Wall -Wformat LIBS := -- cgit v1.2.1