[libvirt PATCH 19/19] build: add -Wdeclaration-after-statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Now that all the users have been converted or silenced,
let's enable this warning.

Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 48b937d6bb..fe75718cac 100644
--- a/meson.build
+++ b/meson.build
@@ -236,6 +236,7 @@ cc_flags += [
   '-Wcpp',
   '-Wdangling-else',
   '-Wdate-time',
+  '-Wdeclaration-after-statement',
   '-Wdeprecated-declarations',
   '-Wdesignated-init',
   '-Wdiscarded-array-qualifiers',
@@ -555,7 +556,6 @@ cc_flags_disabled = [
   # We might fundamentally need some of these disabled forever, but
   # ideally we'd turn many of them on
   '-Wfloat-equal',
-  '-Wdeclaration-after-statement',
   '-Wpacked',
   '-Wunused-macros',
   '-Woverlength-strings',
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux