Skip to content

Commit

Permalink
Suppress Wincompatible-pointer-types on arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 committed Dec 10, 2021
1 parent 231b456 commit 0e3e95c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/coreclr/pal/src/libunwind/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ if(CLR_CMAKE_HOST_UNIX)
endif()
# We compile code with -std=c99 and the asm keyword is not recognized as it is a gnu extension
add_definitions(-Dasm=__asm__)
# Disable warning for a bug in the libunwind source src/aarch64/Ginit.c, but not in code that we exercise
add_compile_options(-Wno-incompatible-pointer-types)
elseif(CLR_CMAKE_HOST_ARCH_I386)
# Disable warning for a bug in the libunwind source src/x86/Gos-linux.c, but not in code that we exercise
add_compile_options(-Wno-incompatible-pointer-types)
Expand Down

0 comments on commit 0e3e95c

Please sign in to comment.