where to report bugs in 2.0?
    Matthias Urlichs 
    urlichs at smurf.sub.org
       
    Wed Dec 19 11:21:19 AEST 1990
    
    
  
In comp.unix.aux, article <2395 at s6.Morgan.COM>,
  jordan at s6.Morgan.COM (Jordan Hayes) writes:
< For instance, in <sys/socket.h>, there's a reference to ushort (rather
< than u_short), which barfs if you use -ZB ... also, in <sys/uio.h>
< there is no check to prevent multiple #includes of this file, so if you
< happen to do it, you lose.
< 
Better use ushort_t; if not, the problem will reappear with the first program
you compile without -ZB...
When fixing the include files for gcc, I convinced the fixincludes script to
also converu ushort and u_short to ushort_t (same for long, char, whatever)
and to put a "#pragma once" in front of every file. Voila, no more problems
with multiple includes.
Sorry, but I managed to misplace that fixincludes script.
I'll probably recreate it for 2.1 when it gets out.
-- 
Matthias Urlichs -- urlichs at smurf.sub.org -- urlichs at smurf.ira.uka.de     /(o\
Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49+721+621127(0700-2330)   \o)/
    
    
More information about the Comp.unix.aux
mailing list