mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40: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
|
|
@ -2,7 +2,7 @@
|
|||
#include "core/logger.hpp"
|
||||
#include <exception>
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
int main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[]) {
|
||||
try {
|
||||
wowee::core::Logger::getInstance().setLogLevel(wowee::core::LogLevel::DEBUG);
|
||||
LOG_INFO("=== Wowee Native Client ===");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue