Skip to content

Commit

Permalink
fix windows build error /wd4819 (#5137)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuecideng authored May 29, 2022
1 parent f926298 commit d64259d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/Open3DShowAndAbortOnWarning.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function(open3d_show_and_abort_on_warning target)
/wd4245 # signed/unsigned mismatch (visualization, PoissonRecon, ...)
/wd4267 # conversion from size_t to smaller type (FixedRadiusSearchCUDA, tests)
/wd4305 # conversion to smaller type in initialization or constructor argument (examples, tests)
/wd4819 # suppress vs2019+ compiler build error C2220 (Windows)
)
set(DISABLE_GNU_CLANG_INTEL_WARNINGS
-Wno-unused-parameter # (many places in Open3D code)
Expand Down

0 comments on commit d64259d

Please sign in to comment.