From 2bbb6181e3ad0bc1d80e1e58dcf4909cfe434ecb Mon Sep 17 00:00:00 2001 From: reha <74599574+rreha@users.noreply.github.com> Date: Mon, 27 Jul 2026 18:57:33 +0300 Subject: [PATCH 1/2] Fix build on Clang and C++ version conflict - Using Clang triggered the "Unknown compiler" error. Added Clang to the GNU check block. - Removed the hardcoded "-std=c++11" flag from CMAKE_CXX_FLAGS. The project already specifies "CMAKE_CXX_STANDARD 17" globally. Forcing C++11 can cause compilation to fail on modern compilers when resolving C++17 features like "std::filesystem". --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c2fd5ea..b0c7b0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,8 +6,8 @@ set (CMAKE_CXX_STANDARD 17) if (MSVC) add_definitions (/W3) add_definitions(-D_SCL_SECURE_NO_WARNINGS) -elseif (CMAKE_COMPILER_IS_GNUCXX) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wno-unknown-pragmas -fPIC") +elseif (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-unknown-pragmas -fPIC") else() message (FATAL_ERROR "Unknown compiler") return() From 964e5413bb07604d06856cd11915b6019f42c861 Mon Sep 17 00:00:00 2001 From: reha <74599574+rreha@users.noreply.github.com> Date: Mon, 27 Jul 2026 19:08:47 +0300 Subject: [PATCH 2/2] Fix incomplete directory traversal causing "file does not exist" errors - Replaced "i.pop()" with "i.disable_recursion_pending()" to correctly skip the subdirectories while safely continuing to scan the rest of the parent folder. --- psvpfsparser/Utils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/psvpfsparser/Utils.cpp b/psvpfsparser/Utils.cpp index a4c1aa4..f0653d3 100644 --- a/psvpfsparser/Utils.cpp +++ b/psvpfsparser/Utils.cpp @@ -67,13 +67,13 @@ void getFileListNoPfs(std::filesystem::path root_path, std::set