This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: system.h and system header include cleanup
On Sat, 27 Nov 2010, Laurynas Biveinis wrote:
> ggc-zone.c is not compiled unless configured with --with-gc=zone, so
> would you mind doing 'make ggc-zone.o' to make sure it still builds OK
> with the change?
It has a pre-existing build failure.
ggc-zone.c:1080:1: error: no previous prototype for 'ggc_internal_alloc_zone_stat' [-Werror=missing-prototypes]
ggc-zone.c:1347:1: error: no previous prototype for 'ggc_internal_cleared_alloc_zone_stat' [-Werror=missing-prototypes]
ggc-zone.c: In function 'ggc_pch_read':
ggc-zone.c:2467:8: error: macro names must be identifiers
The invalid syntax of
#ifdef 0 && GATHER_STATISTICS
is certainly nothing to do with my patch and I don't see any relation of
the other failures to my patch either.
--
Joseph S. Myers
joseph@codesourcery.com