mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Upgrade to C++20 and fix all compilation warnings
- Upgrade from C++17 to C++20 - Remove unused helper functions (selectSpawnPreset, parseVec3Csv, parseYawPitchCsv) - Mark unused parameters with [[maybe_unused]] attribute - Remove unused variables (nameColor, currentRace, steppingUp, steppingDown, awayFromWallMotion) - Fix all -Wunused-* warnings Build now completes with zero warnings.
This commit is contained in:
parent
352d179aaa
commit
545cfbbc0e
10 changed files with 7 additions and 72 deletions
|
|
@ -1,7 +1,7 @@
|
|||
cmake_minimum_required(VERSION 3.15)
|
||||
project(wowee VERSION 1.0.0 LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue