Skip to content

Commit

Permalink
Fix non-standard modifers of printf in gc (#77627)
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronRobinsonMSFT committed Oct 31, 2022
1 parent 46cc747 commit 98984cc
Show file tree
Hide file tree
Showing 4 changed files with 1,012 additions and 1,017 deletions.
7 changes: 1 addition & 6 deletions src/coreclr/gc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ if(CLR_CMAKE_HOST_WIN32)
${STATIC_MT_VCRT_LIB}
kernel32.lib
advapi32.lib)
endif(CLR_CMAKE_HOST_WIN32)
endif(CLR_CMAKE_HOST_WIN32)

set (GC_LINK_LIBRARIES ${GC_LINK_LIBRARIES} gc_pal)

Expand All @@ -109,11 +109,6 @@ add_dependencies(clrgc eventing_headers)
target_link_libraries(clrgc ${GC_LINK_LIBRARIES})
install_clr(TARGETS clrgc DESTINATIONS . COMPONENT runtime)

if(CLR_CMAKE_HOST_UNIX)
# dprintf causes many warnings (https://github.com/dotnet/runtime/issues/8737)
add_compile_options(-Wno-format)
endif(CLR_CMAKE_HOST_UNIX)

add_definitions(-DBUILD_AS_STANDALONE)
add_definitions(-DFX_VER_INTERNALNAME_STR=clrgc.dll)
add_definitions(-DVERIFY_HEAP)
Expand Down

0 comments on commit 98984cc

Please sign in to comment.