https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dd3c54092812aeb203857…
commit dd3c54092812aeb203857fa25f5502f0f565a3cd
Author: Joachim Henze <Joachim.Henze(a)reactos.org>
AuthorDate: Thu Dec 17 14:33:26 2020 +0100
Commit: Joachim Henze <Joachim.Henze(a)reactos.org>
CommitDate: Thu Dec 17 14:33:26 2020 +0100
[RDBSSLIB][RTL] Fix build on MSVC bots
Addendum to 0.4.15-dev-1453-g 4ad7b6d
Looks like CMake on master does not longer understand the syntax of
replace_compile_flags().
Will investigate that later again, when other issues have been
solved that do currently prevent me from testing that locally at all.
Most likely remove_target_compile_option() has to be used instead now.
---
sdk/lib/drivers/rdbsslib/CMakeLists.txt | 5 -----
sdk/lib/rtl/CMakeLists.txt | 5 -----
2 files changed, 10 deletions(-)
diff --git a/sdk/lib/drivers/rdbsslib/CMakeLists.txt b/sdk/lib/drivers/rdbsslib/CMakeLists.txt
index 56ab772675d..7b6ec545500 100644
--- a/sdk/lib/drivers/rdbsslib/CMakeLists.txt
+++ b/sdk/lib/drivers/rdbsslib/CMakeLists.txt
@@ -3,11 +3,6 @@ add_definitions(-DUNICODE -D_UNICODE -DRDBSS_TRACKER)
include_directories(${REACTOS_SOURCE_DIR}/drivers/filesystems/mup
${REACTOS_SOURCE_DIR}/sdk/lib/drivers/copysup)
-if(MSVC)
- # error C4101: 'BreakpointsSave' : unreferenced local variable in Release-Configuration
- replace_compile_flags("/we4101" " ")
-endif()
-
list(APPEND SOURCE
rdbss.c)
diff --git a/sdk/lib/rtl/CMakeLists.txt b/sdk/lib/rtl/CMakeLists.txt
index eb76fc9b7a9..391c021047f 100644
--- a/sdk/lib/rtl/CMakeLists.txt
+++ b/sdk/lib/rtl/CMakeLists.txt
@@ -5,11 +5,6 @@ add_definitions(
-D_NTSYSTEM_
-D_NTDLLBUILD_)
-if(MSVC)
- # error C4101: unreferenced local variable in Release-Configuration due to debug logging
- replace_compile_flags("/we4101" " ")
-endif()
-
list(APPEND SOURCE
access.c
acl.c