Skip to content

Commit

Permalink
Remove libunwind disabled warnings. (dotnet#67042)
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronRobinsonMSFT authored and radekdoulik committed Mar 30, 2022
1 parent b9c0c18 commit ad02056
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/native/external/libunwind/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ if ("${CMAKE_GENERATOR}" MATCHES "^Visual Studio.*$")

# Warnings in release builds
add_compile_options(-wd4068) # ignore unknown pragma warnings (gcc pragmas)
add_compile_options(-wd4146) # minus operator applied to unsigned
add_compile_options(-wd4244) # possible loss of data
add_compile_options(-wd4267) # possible loss of data
add_compile_options(-wd4334) # 32-bit shift implicitly converted to 64 bits

# Disable warning due to incorrect format specifier in debugging printf via the Debug macro
Expand Down Expand Up @@ -87,7 +84,7 @@ if ("${CMAKE_GENERATOR}" MATCHES "^Visual Studio.*$")
if (NOT HAVE_STDATOMIC_H)
configure_file(include/win/fakestdatomic.h.in ${CMAKE_CURRENT_BINARY_DIR}/include/stdatomic.h)
endif (NOT HAVE_STDATOMIC_H)

# MSVC compiler is currently missing C11 _Thread_local
check_c_source_compiles("void main() { _Thread_local int a; }" HAVE_THREAD_LOCAL)
if (NOT HAVE_THREAD_LOCAL)
Expand Down

0 comments on commit ad02056

Please sign in to comment.