[vlc-commits] configure: enable multistatement-macros warning

Rémi Denis-Courmont git at videolan.org
Sun Feb 11 12:49:28 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 11 13:22:44 2018 +0200| [0778e911b343e098cb902be5fe9a177200361b12] | committer: Rémi Denis-Courmont

configure: enable multistatement-macros warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0778e911b343e098cb902be5fe9a177200361b12
---

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 556332aa10..879e6aa3f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -941,7 +941,7 @@ dnl
 AX_APPEND_COMPILE_FLAGS([-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security], [CFLAGS])
 AX_APPEND_COMPILE_FLAGS([-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security], [CXXFLAGS])
 
-AX_APPEND_COMPILE_FLAGS([-Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local], [CFLAGS])
+AX_APPEND_COMPILE_FLAGS([-Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -Wmultistatement-macros], [CFLAGS])
 AX_APPEND_COMPILE_FLAGS([-pipe], [CFLAGS])
 
 dnl



More information about the vlc-commits mailing list