Page MenuHome GnuPG

libgcrypt-1.1.43 warnings on Solaris
Closed, ResolvedPublic

Description

Release: 1.1.43

Environment

Solaris 8
Sun ONE Studio 7

Description

Hi,

I got a few warnings while building libgcrypt 1.1.43 on Solaris 8 using Sun ONE Studio 7 compiler, after working around bugs 224 and 225.

They're not very serious:

  • Most warnings are about pointer to char / pointer to unsigned char mixup, and I understand you don't want to fix them
  • Spurious ';' in macro definition: "cipher.c", line 79: warning: syntax error: empty declaration "md.c", line 74: warning: syntax error: empty declaration "random.c", line 108: warning: syntax error: empty declaration To fix these warnings just change line 52 of ath.h from: #define ATH_MUTEX_INITIALIZER 0; to: #define ATH_MUTEX_INITIALIZER 0 Notice the trailing spurious ';'
  • Source file cipher/ac.c should include header file src/cipher.h: "ac.c", line 691: warning: implicit function declaration: _gcry_pk_aliased_algo_name

Fix

Unknown

Release Note

The warnings given above have been fixed in the meantime - expect for signed/unsigned.