GNUTLS 2.8.5: Assertion failed on Solaris 8 Sparc
Eric Blake
ebb9 at byu.net
Thu Nov 5 14:18:27 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Simon Josefsson on 11/5/2009 6:02 AM:
> A sizeof(__func__) == 0 seems odd. What is __func__ on Solaris? Is
> there some other variable that contains the current function name on
> Solaris?
This is a known bug in the Solaris compiler, and gnulib just ignores the
error. This line from test-func.c is telling:
> /* On SunPRO C 5.9, sizeof __func__ evaluates to 0. The compiler warns:
> "warning: null dimension: sizeof()". */
> #if !defined __SUNPRO_C
> ASSERT (strlen (__func__) + 1 == sizeof __func__);
> #endif
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9 at byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkry0KMACgkQ84KuGfSFAYCPIgCeLJ0jmtbSKx/+UnvwX/IWEt1Q
5OYAn3oUOpCdSTukmrU4HZXP4dwZTIOk
=lVxd
-----END PGP SIGNATURE-----
More information about the Gnutls-devel
mailing list