On Thu, 18.06.15 14:29, Michael Olbrich (m.olbr...@pengutronix.de) wrote:

> Hi,
> 
> Do we have a minimum required gcc version? The README just lists gcc
> without any version. However the current git fails to build with gcc-4.7:
> In this version, gcc produces -Wshadow warnings for variables with the same
> name as a defined function (e.g. 'now' in several functions in
> src/core/device.c). This results in build errors because we compile with
> -Werror=shadow now.

Hm, yuck. I figure we could add that only for gcc versions newer than
that, with a configure check...

or can't you add a -Wno-shadow to CFLAGS on the configure cmdline,
overriding what we set there?

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to