DragonFly BSD
DragonFly bugs List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: devel/apr breakage


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 8 Nov 2003 16:10:30 -0800 (PST)

    I'm going to start committing the header file work in a little bit.
    I am making sure that buildworld works but there might be some temporary
    breakages elsewhere which I will follow up on and fix today.

    I took a somewhat different tact from FreeBSD-5.x but there are many 
    similarities.  Two significant differences:  I didn't use the wierdly
    named <machine/_inttypes.h>, _limits.h, _stdint.h, and _types.h junk.
    Instead I used the same names and the standard header files in
    /usr/include for sys/ and machine/.  Secondly, instead of playing
    include file pollution games I modified the prototypes in dependant
    header files to use the type-opaque version of the types instead of
    the standard types.  e.g. so when err.h needs to declare procedure
    prototypes that use 'va_list' as an argument type, err.h doesn't pollute
    the namespace with <stdarg.h> to get the va_list type nor does it 
    typedef the va_list type.  Instead it uses the opaque version __va_list
    directly in the prototypes.  This should result in even less namespace
    pollution then 5.x has.

						-Matt




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]