Release: 1.1.43
Environment
Solaris 8
Sun ONE Studio 7
Description
Hi,
libgcrypt-1.1.43 doesn't build on Solaris because inline is a GNU-ism unknown to compilers other than gcc:
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/local/libgpg-error/include -I/usr/local/libgpg-error-0.5/include -O -c mpi-add.c -KPIC -DPIC -o mpi-add.o
"../src/gcrypt.h", line 94: warning: no explicit type given
"../src/gcrypt.h", line 94: syntax error before or at: gcry_error_t
"../src/gcrypt.h", line 106: warning: no explicit type given
"../src/gcrypt.h", line 106: syntax error before or at: gcry_error_t
"../src/gcrypt.h", line 112: warning: no explicit type given
"../src/gcrypt.h", line 112: syntax error before or at: gcry_err_code_t
"../src/gcrypt.h", line 119: warning: no explicit type given
"../src/gcrypt.h", line 119: syntax error before or at: gcry_err_source_t
Fix
Change inline to inline which is part of the C99 standard.
Better yet, use autoconf tests to choose the best way to support inline functions. Some compilers don't support inline functions.
Release Note
Fixed in CVS