From 11ed45b116ccbf25c63a7437468cf15832080d14 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 9 Apr 2021 13:32:43 +1000 Subject: [PATCH] warnings: add `missing-field-initializers` --- nc_warnings.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/nc_warnings.cmake b/nc_warnings.cmake index 39b6ae8..4185e50 100644 --- a/nc_warnings.cmake +++ b/nc_warnings.cmake @@ -88,6 +88,7 @@ append_compile_flag(-Wmultistatement-macros) append_compile_flag(-Wcast-align=strict) append_compile_flag(-Wold-style-cast) +append_compile_flag(-Wmissing-field-initializers) # ------------------------------------------------------------------------- # Required extensions