From 779f6d0d537a7fd4fe63d7ef76fb3556553f6004 Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Thu, 8 Jan 2026 22:10:59 -0300 Subject: [PATCH] [cmake] Nuke "Disable Warnings as Errors for MSVC" * it's just spamming log Signed-off-by: Caio Oliveira --- CMakeLists.txt | 5 ----- src/core/hle/service/acc/profile_manager.cpp | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e9e232a7e4..966f30749b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -132,11 +132,6 @@ if (CXX_CLANG_CL) endif() endif() -# Disable Warnings as Errors for MSVC -if (MSVC AND NOT CXX_CLANG) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /WX-") -endif() - # Set bundled sdl2/qt as dependent options. # On Linux system SDL2 is likely to be lacking HIDAPI support which have drawbacks but is needed for SDL motion cmake_dependent_option(ENABLE_SDL2 "Enable the SDL2 frontend" ON "NOT ANDROID" OFF) diff --git a/src/core/hle/service/acc/profile_manager.cpp b/src/core/hle/service/acc/profile_manager.cpp index b610792271..4dead26841 100644 --- a/src/core/hle/service/acc/profile_manager.cpp +++ b/src/core/hle/service/acc/profile_manager.cpp @@ -578,6 +578,8 @@ std::vector ProfileManager::FindOrphanedProfiles() } } catch (const fs::filesystem_error& e) { // if we get an error--no worries, just pretend it's not empty + LOG_WARNING(Service_ACC, "Failed to iterate profile directory '{}': {}", + entry.path().string(), e.what()); return true; }