Two compiler warnings (gcc 4.1.2) during compilation:

sparcv9cap.c: In function 'OPENSSL_cpuid_setup':
sparcv9cap.c:173: warning: unused variable 'sig'

It seems the line

    173         int                     sig;

could simply be dropped.


apps.c: In function 'set_ext_copy':
apps.c:1306: warning: implicit declaration of function 'strcasecmp'

The file defined "_POSIX_C_SOURCE 2", which results in strcasecmp no longer being defined. Adding "-D__EXTENSIONS__" activates all compatible extensions (on Solaris) and resolves this. The Configure entry for Solaris debug already contains -D__EXTENSIONS__. Alternatively one might only set "_POSIX_C_SOURCE 2" for the platform that needs it. In apps.c it says:

/* On VMS, you need to define this to get
   the declaration of fileno().  The value
   2 is to make sure no function defined
   in POSIX-2 is left undefined. */

but then sets it unconditionally for all platforms :(


In addition one assembler warning (Solaris Sparc):

/usr/ccs/bin/as: "sha512-sparcv9.s", line 676: warning: v8+ ABI violation: illegal use of %i or %l register as rs1 in "brnz,a" instruction

All of these also occur in 1.0.0e.

Regards,

Rainer
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to