Browse Source

[cmake] Nuke "Disable Warnings as Errors for MSVC"

* it's just spamming log

Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
msvc_fix-debug-build
Caio Oliveira 4 weeks ago
committed by lizzie
parent
commit
779f6d0d53
  1. 5
      CMakeLists.txt
  2. 2
      src/core/hle/service/acc/profile_manager.cpp

5
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)

2
src/core/hle/service/acc/profile_manager.cpp

@ -578,6 +578,8 @@ std::vector<std::string> 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;
}

Loading…
Cancel
Save