diff options
author | Colin Walters <walters@verbum.org> | 2012-11-12 12:09:57 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-11-12 14:43:22 -0500 |
commit | 502387df492d0c2b302a892d4cc59e3b246b8490 (patch) | |
tree | 1657488b9c8a886ffc26c8f5f704266c2d968ca2 | |
parent | 7c70df83511028ce45489193eaf0aa613b3416a7 (diff) | |
download | gnome-common-502387df492d0c2b302a892d4cc59e3b246b8490.tar.gz |
compiler-warnings: Drop -Waggregate-return
This trips up gnome-desktop using things like XSyncValue, and while
it's possible to avoid, we shouldn't punish people who are pushed to
use structures as return values by external APIs.
Returning a two-element structure is not a big deal.
-rw-r--r-- | macros2/gnome-compiler-flags.m4 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/macros2/gnome-compiler-flags.m4 b/macros2/gnome-compiler-flags.m4 index 09c4fc0..992ad5c 100644 --- a/macros2/gnome-compiler-flags.m4 +++ b/macros2/gnome-compiler-flags.m4 @@ -30,7 +30,6 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[ warning_flags="\ -Wall \ -Wstrict-prototypes \ - -Waggregate-return \ -Werror=missing-prototypes \ -Werror=implicit-function-declaration \ -Werror=pointer-arith \ @@ -43,7 +42,6 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[ warning_flags="\ -Wall \ -Wstrict-prototypes \ - -Waggregate-return \ -Wdeclaration-after-statement \ -Werror=missing-prototypes \ -Werror=implicit-function-declaration \ |