[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUTLS 2.8.5: Assertion failed on Solaris 8 Sparc
From: |
Eric Blake |
Subject: |
Re: GNUTLS 2.8.5: Assertion failed on Solaris 8 Sparc |
Date: |
Thu, 05 Nov 2009 06:18:27 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
-----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 address@hidden
-----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-----