Minor CMunge build issue

John-Mark Bell jmb202 at ecs.soton.ac.uk
Sat Jul 23 15:14:42 PDT 2005


The latest CMunge source fails to build here due to the native 
compiler compaining about the redefinition of getline in readfile.c (line 
184). The previous declaration of a getline is in stdio.h - inside a 
#ifdef __USE_GNU construct.

I've hacked around this in my local copy by adding -U_GNU_SOURCE to the 
stage1 CFLAGS in the CMunge makefile. 


More information about the gcc mailing list