bug-gnulib
[Top][All Lists]
Advanced

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

Re: AC_C_NORETURN macro?


From: Eric Blake
Subject: Re: AC_C_NORETURN macro?
Date: Tue, 01 May 2012 18:17:12 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120424 Thunderbird/12.0

On 05/01/2012 06:11 PM, Vincent Lefevre wrote:
> On 2012-04-29 18:28:03 +0200, Bruno Haible wrote:
>> And clashes regarding the 'noreturn' macro? I don't see any. In a compilation
>> unit, the last definition matters, and since both definitions (from gnulib
>> and from the other package) are supposedly correct, what is the problem?
> 
> If <stdnoreturn.h> (either the standard one or from Gnulib) is used
> together with GCC's
> 
>   __attribute__ ((noreturn))
> 
> in the other package, things will not work as expected.

That would be a bug in the other package for using noreturn instead of
__noreturn__, and should be fixable.

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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