Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 1997 10:13:29 +0200
From:      phk@dk.tfs.com
To:        Bruce Evans <bde@zeta.org.au>
Cc:        peter@spinner.DIALix.COM, phk@dk.tfs.com, freebsd-bugs@freebsd.org, tejblum@arc.hq.cti.ru
Subject:   Re: misc/3291: md2.h, md4.h, and md5.h headers useless for c++ programms 
Message-ID:  <195.861092009@critter>
In-Reply-To: Your message of "Tue, 15 Apr 1997 17:34:16 %2B1000." <199704150734.RAA17735@godzilla.zeta.org.au> 

index | next in thread | previous in thread | raw e-mail


>md4.h now depends on <sys/types.h> for the definition of u32_t.
>This was broken when 64-bit support was fixed (md4.h previously used
>`unsigned long').  This shouldn't be fixed by including <sys/types.h>,
>since <sys/types.h> pollutes the namespace with select and ntoh macros
>and POSIX typedefs.

This was really what I meant to complain about, not cdefs.h.  I Should 
have been more clear there.

>md5.h includes <sys/md5.h> which has the same problem as md4.h and uglier
>ifdefs.

Any good suggestions ?

Making a <sys/types_lite.h> that only have the basic types in it ?  :-)

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@tfs.com           TRW Financial Systems, Inc.
Power and ignorance is a disgusting cocktail.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?195.861092009>