chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] chicken.h: define C_noret as __attribute__


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] chicken.h: define C_noret as __attribute__ ((noreturn)) for clang too
Date: Fri, 7 Sep 2012 19:30:03 +0200
User-agent: Mutt/1.4.2.3i

On Thu, Sep 06, 2012 at 09:18:38PM -0400, Mario Domenech Goulart wrote:
> Hi,
> 
> Christian Lask reported on #chicken that make check fails when Chicken
> is built with clang (see #917).
> 
> The attached patch seems to fix that problem (tested with clang 3.0).

I wonder if this will work with older versions of Clang
(notably XCode's).  I'm assuming this #ifdef wasn't added just for
the hell of it.

> In the end, it just silents some warnings that break tests that rely on
> diff.
> 
> Even if it is the proper fix, feel free to postpone it to after 4.8.0.

Perhaps the best thing to do.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth



reply via email to

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