Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Wrapping/macro_files/itk_end_wrap_module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -546,12 +546,13 @@ ${DO_NOT_WAIT_FOR_THREADS_CALLS}
)

if(MSVC)
# Disables 'conversion from 'type1' to 'type2', possible loss of data warnings
# /wd4244: Disables 'conversion from 'type1' to 'type2', possible loss of data warnings
# /wd4996: Disables deprecated declaration warnings in generated wrapper code
set_target_properties(
${lib}
PROPERTIES
COMPILE_FLAGS
"/wd4244"
"/wd4244 /wd4996"
)
endif()
else()
Expand Down
Loading