Commit 2b234b08 authored by Ghislain MARY's avatar Ghislain MARY

Remove missing field initializers warnings.

parent e5d4026c
......@@ -87,7 +87,7 @@ if(NOT MSVC)
list(APPEND STRICT_OPTIONS_CPP "-Qunused-arguments")
endif()
if(ENABLE_STRICT)
list(APPEND STRICT_OPTIONS_CPP "-Werror" "-Wextra" "-Wno-unused-parameter")
list(APPEND STRICT_OPTIONS_CPP "-Werror" "-Wextra" "-Wno-unused-parameter" "-Wno-missing-field-initializers")
endif()
endif()
if(STRICT_OPTIONS_CPP)
......
......@@ -59,7 +59,7 @@ case $CC in
esac
if test $GCC = yes && test $wall_werror = yes; then
CFLAGS="$CFLAGS -Werror -Wextra -Wno-unused-parameter "
CFLAGS="$CFLAGS -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers "
fi
# Create the following files from their .in counterparts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment