diff --git a/configure.ac b/configure.ac index 56c3748d..c3bce5db 100644 --- a/configure.ac +++ b/configure.ac @@ -68,12 +68,21 @@ AX_APPEND_COMPILE_FLAGS([-Wuseless-cast], [], [-Werror]) # Required extensions #AX_APPEND_COMPILE_FLAGS([-Wgnu-flexible-array-union-member], [], [-Werror]) #AX_APPEND_COMPILE_FLAGS([-Wno-c99-extensions], [], [-Werror]) -#AX_APPEND_COMPILE_FLAGS([-Wno-gnu-zero-variadic-macro-arguments], [], [-Werror]) -#AX_APPEND_COMPILE_FLAGS([-Wno-nested-anon-types], [], [-Werror]) #AX_APPEND_COMPILE_FLAGS([-Wno-vla-extension], [], [-Werror]) AX_APPEND_COMPILE_FLAGS([-Wno-vla], [], [-Werror]) +AX_APPEND_COMPILE_FLAGS([-Wno-vla-extension], [], [-Werror]) +AX_APPEND_COMPILE_FLAGS([-Wno-gnu-zero-variadic-macro-arguments], [], [-Werror]) +AX_APPEND_COMPILE_FLAGS([-Wno-gnu-conditional-omitted-operand], [], [-Werror]) +AX_APPEND_COMPILE_FLAGS([-Wno-zero-length-array], [], [-Werror]) +AX_APPEND_COMPILE_FLAGS([-Wno-gnu-empty-struct], [], [-Werror]) +AX_APPEND_COMPILE_FLAGS([-Wno-c99-extensions], [], [-Werror]) +AX_APPEND_COMPILE_FLAGS([-Wno-gnu-flexible-array-union-member], [], [-Werror]) +AX_APPEND_COMPILE_FLAGS([-Wno-flexible-array-extensions], [], [-Werror]) # Excessive warnings +AX_APPEND_COMPILE_FLAGS([-Wno-nested-anon-types], [], [-Werror]) +AX_APPEND_COMPILE_FLAGS([-Wno-unused-const-variable], [], [-Werror]) +AX_APPEND_COMPILE_FLAGS([-Wno-missing-braces], [], [-Werror]) #AX_APPEND_COMPILE_FLAGS([-Wunsafe-loop-optimizations], [], [-Werror]) #AX_APPEND_COMPILE_FLAGS([-Winline], [], [-Werror]) #AX_APPEND_COMPILE_FLAGS([-Wconversion], [], [-Werror])