Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
ruby: suppress format overflow warning in generated SWIG code
Browse files Browse the repository at this point in the history
  • Loading branch information
mpranj committed Sep 12, 2022
1 parent c251abe commit 8f4796b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/ruby/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ if (DEPENDENCY_PHASE)
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-literal-suffix")
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-attributes")
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-pedantic")
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-format-overflow")
endif ()

set_source_files_properties ("ruby.cpp" PROPERTIES COMPILE_FLAGS "${SWIG_COMPILE_FLAGS}")
Expand Down

0 comments on commit 8f4796b

Please sign in to comment.