It took me a while to realise why u_int wasn't properly defined when
types.h is included by resolv.h on VMS. What happens is that our
types.h is included rather than the system's types.h. On other
platforms it wouldn't be a problem since you should include
sys/types.h, but on VMS, there's a "tradition" of having all the
include files in one flat space, making <types.h> as valid as
<sys/types.h> (the latter is actually converted to the former through
some compiler magic). And what do I find when I look in resolv.h?
You guessed it, "#include <types.h>".
So, that's a name clash we really can't have. I propose changing the
name to ossl_typ.h (thereby preserving the 8.3 file name format).
What say you?
(Kevin, I'm cc:ing you since I don't remember if you're on the
openssl-dev list. If you have the power to tell people what to do and
the engineering team has the time/resources, it would be a *very*
good idea if your engineers went through the include files and made
the include directives a bit more like they would be on a normal Unix,
i.e. "#include <sys/types.h>" instead of "#include <types.h>" and the
like. I've seen the same type of flat space mentality still when it
comes to inet/, arpa/ and other such namespeaces. The reason is that
Unixly people have learned to respect the namespaces and have figured
that in their own namespace ("openssl/" for OpenSSL include files :-))
they can do what they want)
Notes: OpenVMS Alpha 7.2-1, Compaq C 6.2-008
--
Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-733-72 88 11
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, GemPlus: http://www.gemplus.com/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]