bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUTLS 2.8.5: Assertion failed on Solaris 8 Sparc


From: Simon Josefsson
Subject: Re: GNUTLS 2.8.5: Assertion failed on Solaris 8 Sparc
Date: Thu, 05 Nov 2009 14:38:18 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Eric Blake <address@hidden> writes:

> According to Simon Josefsson on 11/5/2009 6:23 AM:
>> Ah, thanks.  But does __func__ work on Solaris?  Would it make sense to
>> improve the self-test like this?
>> 
>>  
>> +  assert (strcmp (__func__, "main") == 0
>> +      || strcmp (__func__, "<unknown function>") == 0);
>
> Will that still be right if test-func.c is compiled with a C++ compiler,
> or would name mangling interfere?  It certainly can't hurt to get more
> coverage of what we think the output may be, but it may take an iteration
> or two before it passes on all compilers.  At any rate, I'm in favor of
> such a patch.

We'll find out. :-)  I have pushed it.  If there is a problem, we could
condition that test on !C++.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]