[geany/geany-plugins] 8e511d: Remove -Werror=aggregate-return from travis flags (#529)

Jiří Techet git-noreply at xxxxx
Sun Feb 19 18:45:23 UTC 2017

Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Sun, 19 Feb 2017 18:45:23 UTC
Commit:      8e511d19073c97ba249bdb3781a51deb786dc433

Log Message:
Remove -Werror=aggregate-return from travis flags (#529)

While in general one should avoid returning big structs for performance
reasons, it's no big problem for small structs and it can lead to more
readable code.

Having this check on for everything seems to be too strict - if someone
is returning big structs like crazy, someone will probably notice during
the review. Otherwise it's no problem.

Modified Paths:

Modified: .travis.yml
2 lines changed, 1 insertions(+), 1 deletions(-)
@@ -125,7 +125,7 @@ before_install:
   # prepare for GP
-  - export CFLAGS="-g -O2 -Werror=pointer-arith -Werror=aggregate-return -Werror=implicit-function-declaration"
+  - export CFLAGS="-g -O2 -Werror=pointer-arith -Werror=implicit-function-declaration"
   - NOCONFIGURE=1 ./autogen.sh

This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).

More information about the Plugins-Commits mailing list