Ruby: Ignore warnings about zero size arrays
@@ -80,6 +80,7 @@ else ()
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-macro-redefined")
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-old-style-cast")
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-gnu-zero-variadic-macro-arguments")
+ set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-zero-length-array")
endif ()
# add 'kdb' module
