Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixes for VS preview
Compile crossdac w/o c++latest
Disable warning about overriding /TP with /TC
  • Loading branch information
sdmaclea committed Dec 10, 2020
commit 7cbe3884c6e16e99eed371f0b9475576b300ee72
3 changes: 2 additions & 1 deletion src/coreclr/pal/src/libunwind/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ if(CLR_CMAKE_HOST_WIN32)
endif ()

# Assume we are using default MSVC compiler
add_compile_options(/std:c++latest)
add_compile_options(/TC) # compile all files as C
add_compile_options(/permissive-)

Expand All @@ -148,6 +147,8 @@ if(CLR_CMAKE_HOST_WIN32)
add_compile_options(-wd4311) # pointer truncation from 'unw_word_t *' to 'long'
add_compile_options(-wd4475) # 'fprintf' : length modifier 'L' cannot be used
add_compile_options(-wd4477) # fprintf argument type

add_compile_options(-wd9025) # overriding '/TP' with '/TC'
endif (CLR_CMAKE_HOST_WIN32)

if(CLR_CMAKE_TARGET_ARCH_ARM)
Expand Down