patch : libiberty/hashtab.c needs sys/types.h

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Tue Nov 30 23:59:00 GMT 1999


 > From: "Philippe De Muyter" <phdm@macqel.be>
 > 
 > Problem :
 > cc -c -DHAVE_CONFIG_H -g -I. -I/share/src/gnu/egcs-19991122/libiberty/../include
 >   /share/src/gnu/egcs-19991122/libiberty/hashtab.c
 > "/share/src/gnu/egcs-19991122/libiberty/../include/hashtab.h", line 53: syntax e
 > rror
 > "/share/src/gnu/egcs-19991122/libiberty/../include/hashtab.h", line 53: cannot r
 > ecover from earlier errors: goodbye!
 > gnumake[1]: *** [hashtab.o] Error 1
 > 
 > Fix :
 > Fri Nov 26 10:57:20 1999  Philippe De Muyter  <phdm@macqel.be>
 > 
 > 	* hashtab.c (sys/types.h): File included.
 > 

IMHO, it would be better to write a system.h for libiberty and have
each module include it, rather than make these fixes N times.

Philipp Thomas told me he was interested and was going to do this
last weekend.  I don't know if he followed through on it though.

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions



More information about the Gcc-patches mailing list