Source-Changes-D archive

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

Re: CVS commit: src/common/lib/libc/string



On Mon, Aug 22, 2011 at 12:48:22PM +0200, Joerg Sonnenberger wrote:
 > > > >  > > Requires stdint.h.
 > > > >  > 
 > > > >  > No?
 > > > > 
 > > > > uh what?
 > > > 
 > > > It doesn't. The prototypes in strings.h already ensure that
 > > > uint32_t/uint64_t are present and that's the only thing it could ever
 > > > need from stdint.h.
 > > 
 > > Yes it does. strings.h is included by string.h and is therefore not
 > > allowed to include stdint.h itself.
 > 
 > You are skinning the wrong cat. string.h shouldn't include strings.h in
 > first place.

That's nice but totally at variance with historical practice and the
expectations of third-party software.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index