gcc-2.95.2, Next 4.2, "gen" programs won't compile

James McKelvey mckelvey@fafnir.com
Thu Nov 11 20:56:00 GMT 1999


NeXT Cube running Openstep 4.2.
gmake CFLAGS='-O2' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap

The "gen" group won't compile because "free" is not defined. I was able to  
fix it by adding:

#include <stdlib.h>

You guys will probably fix it though by adding the include to config.h and  
hconfig.h.

The "gen" files affected:

genattr.c
genattrtab.c
gencodes.c
genconfig.c
genemit.c
genextract.c
genflags.c
genopinit.c
genoutput.c
genpeep.c
genrecog.c

There are a few more problems with the gen*'s that are not common to all. I  
will report those separately.

---
Where diesel guitars from faraway bars, blast out the
best songs from our holy wars. Coyote carnival catches
on fire, all the cops in the world pick us up on radar.
Jim McKelvey  mckelvey@fafnir.com


More information about the Gcc-bugs mailing list