Ben Laurie <[EMAIL PROTECTED]> said:
> Anonymous wrote:
> > A couple of functions are prototyped static but not declared as such.
> > 
> > And there are a few places where variables are "unsigned char *" when
> > they should be "char *" or vice versa, causing warnings from the compiler.
> 
> I'm curious to know which compiler, and with what settings?

HPUX ANSI C reported the missing statics with the flags in Configure hpux-cc

Both HPUX ANSI C and Solaris SC (with the flags in Configure) reported the
char/uchar mismatches.  Solaris SC actually reported where the expected type
was declared and what type it actually saw, and since I could see that they
were all char/uchar I was ignoring them.  But HPUX ANSI C only said "Pointers
are not assignment-compatible, argument #2 is not the correct type".  That
was cryptic enough that I got motivated to look at them all.

There are still a few char/uchar or int/uint mismatches that cause warnings,
but they're legitimate and they'd need explicit casts to avoid the warnings.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to