[systemd-devel] [systemd-commits] 4 commits - catalog/systemd-fr.catalog catalog/systemd-ru.catalog configure.ac Makefile.am po/.gitignore po/LINGUAS po/ru.po
Lennart Poettering
lennart at poettering.net
Mon Dec 2 08:00:12 PST 2013
On Sun, 01.12.13 10:13, Colin Walters (walters at verbum.org) wrote:
>
> On Sun, 2013-12-01 at 01:26 +0100, Zbigniew Jędrzejewski-Szmek wrote:
>
> > Actually I don't think we need to totally forbid declarations after statements.
>
> I don't have an opinion myself on making -Wdeclaration-after-statement
> an error or not, but presently with GCC 4.7 as in gnome-continuous,
> we get a spam of warnings:
>
> http://build.gnome.org/continuous/buildmaster/builds/2013/11/30/25/build/warnings-systemd.txt
>
> And the goal of the patch is to quiet those with older gcc versions.
>
> (I briefly investigated the memset one but couldn't find it...)
Note that we now use "-flto" during optimized builds which will make
systemd quite a bit smaller, but will totally destroy the usefulness of
the compiler warnings on current gcc versions. You might want to turn
off lto explicitly for gnome-continuous for now...
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list