[systemd-devel] Minimum required gcc version?

Michael Olbrich m.olbrich at pengutronix.de
Thu Jun 18 05:29:04 PDT 2015


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.

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the systemd-devel mailing list