Skip to content

Commit

Permalink
Suppress C5105 warning on build (dotnet#47600)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Feb 4, 2021
1 parent 0e9bab8 commit f0c9552
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eng/native/configurecompiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,8 @@ if (MSVC)

# Disable Warnings:
# 4291: Delete not defined for new, c++ exception may cause leak.
add_compile_options(/wd4291)
# 5105: Windows SDK headers use 'defined' operator in some macros
add_compile_options(/wd4291 /wd5105)

# Treat Warnings as Errors:
# 4007: 'main' : must be __cdecl.
Expand Down

0 comments on commit f0c9552

Please sign in to comment.