From fd6707ccaabf78fb69807558bfad48fe04cb22db Mon Sep 17 00:00:00 2001 From: shawnz Date: Mon, 22 Sep 2025 15:41:44 +0800 Subject: [PATCH] Bug 5532074 Modify the filesystem compatibility from GCC 7.x to 8.x for RHEL 8.10 --- Common/helper_multiprocess.h | 4 ++-- Samples/2_Concepts_and_Techniques/particles/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Common/helper_multiprocess.h b/Common/helper_multiprocess.h index a6ecb13c..7335e406 100644 --- a/Common/helper_multiprocess.h +++ b/Common/helper_multiprocess.h @@ -54,8 +54,8 @@ #endif #include -// Simple filesystem compatibility for GCC 7.x -#if defined(__GNUC__) && __GNUC__ < 8 +// Simple filesystem compatibility for GCC 8.x +#if defined(__GNUC__) && __GNUC__ < 9 #include #include inline std::string getSocketFolder() { diff --git a/Samples/2_Concepts_and_Techniques/particles/CMakeLists.txt b/Samples/2_Concepts_and_Techniques/particles/CMakeLists.txt index 1c4a652e..9e1badf9 100644 --- a/Samples/2_Concepts_and_Techniques/particles/CMakeLists.txt +++ b/Samples/2_Concepts_and_Techniques/particles/CMakeLists.txt @@ -41,7 +41,7 @@ if(${OpenGL_FOUND}) target_compile_options(particles PRIVATE $<$:--extended-lambda> - $<$:-Xcompiler="/Zc:preprocessor"> + $<$,$>:-Xcompiler="/Zc:preprocessor"> ) target_compile_features(particles PRIVATE cxx_std_17 cuda_std_17)