[0.4.14][APISETS][RDBSSLIB][RTL][DISK_NEW] Fix all build issues for MSVC Rls-config CORE-17402

Allows to complete the whole 'ninja bootcd' after 'configure -DCMAKE_BUILD_TYPE=Release'
for compiler MSVC 2010SP1 16.0.40219.1 with RosBE 2.1.6

Similar to the fix committed in 0.4.15-dev-1453-g 4ad7b6d
This commit is contained in:
Joachim Henze 2020-12-17 13:36:20 +01:00
parent 8ab328b53a
commit 6a6672d029
5 changed files with 21 additions and 4 deletions

View file

@ -3,6 +3,11 @@ 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)