diff options
author | Colin Walters <walters@verbum.org> | 2012-11-12 12:09:20 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-11-12 14:43:19 -0500 |
commit | 7c70df83511028ce45489193eaf0aa613b3416a7 (patch) | |
tree | c134b7003379aa073683b8dd2927a7dc995467d5 | |
parent | e42ca9bec9d83aa53d7f79c480daf4b7c4d95fe1 (diff) | |
download | gnome-common-7c70df83511028ce45489193eaf0aa613b3416a7.tar.gz |
compiler-warnings: cosmetic cleanup: Put each warning on own line
So that further patches are more readable.
-rw-r--r-- | macros2/gnome-compiler-flags.m4 | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/macros2/gnome-compiler-flags.m4 b/macros2/gnome-compiler-flags.m4 index 1dbfa1a..09c4fc0 100644 --- a/macros2/gnome-compiler-flags.m4 +++ b/macros2/gnome-compiler-flags.m4 @@ -27,10 +27,33 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[ warning_flags="-Wall" ;; yes) - warning_flags="-Wall -Wstrict-prototypes -Waggregate-return -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs" + warning_flags="\ + -Wall \ + -Wstrict-prototypes \ + -Waggregate-return \ + -Werror=missing-prototypes \ + -Werror=implicit-function-declaration \ + -Werror=pointer-arith \ + -Werror=init-self \ + -Werror=format-security \ + -Werror=format=2 \ + -Werror=missing-include-dirs" ;; maximum|error) - warning_flags="-Wall -Wstrict-prototypes -Waggregate-return -Wdeclaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -Wnested-externs -Wno-sign-compare" + warning_flags="\ + -Wall \ + -Wstrict-prototypes \ + -Waggregate-return \ + -Wdeclaration-after-statement \ + -Werror=missing-prototypes \ + -Werror=implicit-function-declaration \ + -Werror=pointer-arith \ + -Werror=init-self \ + -Werror=format-security \ + -Werror=format=2 \ + -Werror=missing-include-dirs \ + -Wnested-externs \ + -Wno-sign-compare" ;; *) AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings) |