Tru64 cc: Pointer mismatch warnings not suppressed because of an error in the configure script

Honegger, Joerg Joerg.Honegger at hp.com
Thu Apr 27 16:56:01 CEST 2006


Dear all

I am just installing GnuPG on some HP Tru64 UNIX Version 5.1B-3 systems.
C compiler version:	Compaq C V6.5-011 on Compaq Tru64 UNIX V5.1B (Rev. 2650)
				Compiler Driver V6.5-003 (sys) cc Driver

Pointer mismatch warnings during the compilation are not suppressed because there is a tipo (ptrmismatch instead of ptrmismatch1) in the GnuPG configure script.

The following code sequence

    *-dec-osf5*)
        if test -z "$GCC" ; then
            # Use the newer compiler `-msg_disable ptrmismatch' to
            # get rid of the unsigned/signed char mismatch warnings.
            # Using this may hide other pointer mismatch warnings, but
            # it at least lets other warning classes through
            CFLAGS="$CFLAGS -msg_disable ptrmismatch"

should be changed to:

    *-dec-osf5*)
        if test -z "$GCC" ; then
            # Use the newer compiler `-msg_disable ptrmismatch1' to
            # get rid of the unsigned/signed char mismatch warnings.
            # Using this may hide other pointer mismatch warnings, but
            # it at least lets other warning classes through
            CFLAGS="$CFLAGS -msg_disable ptrmismatch1"


The compiler option is also misspelled in the GnuPG README file. In section "Specific problems on some machines" the option "-msg-disable" should be changed to "-msg_disable". Furthermore it is not mentioned that the configure script now uses this option by default.


Best Regards
Jörg Honegger



More information about the Gnupg-devel mailing list