Ruby: Ignore warnings about old style casts
Before this updated the build system would be unable to compile Elektra
on macOS, if we used
Clang 6.0.1,
the compiler switch `-Werror`, and
Ruby 2.3.1
.
@@ -76,6 +76,7 @@ else ()
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-deprecated-register")
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-reserved-user-defined-literal")
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-macro-redefined")
+ set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-old-style-cast")
endif ()
# add 'kdb' module
