From 265c27f3911e427719231a324b30daaba6f10f9f Mon Sep 17 00:00:00 2001 From: xbzk Date: Tue, 18 Aug 2026 00:56:26 +0200 Subject: [PATCH] [cmake] drop invalid c98 warning suppression (#4269) - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- The -Wno-c98-compat breaks clang build on windows. I believe it's a typo, since i couldn't find about it elsewhere. The -Wno-c99-compat is in place. As a bonus removed a doubled -Wno-c99-extensions right after. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4269 Reviewed-by: Samuel Reviewed-by: CamilleLaVey --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4254b18d0b..cbcdaccd0c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -172,8 +172,6 @@ if (CXX_CLANG_CL) $<$:-Wno-c++98-compat-pedantic> $<$:-Wno-c++98-compat> $<$:-Wno-c99-compat> - $<$:-Wno-c98-compat> - $<$:-Wno-c99-extensions> $<$:/EHsc>) # REQUIRED CPU features IN Windows-amd64 if (ARCHITECTURE_x86_64)