chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] noreturn & clang


From: Jörg F. Wittenberger
Subject: Re: [Chicken-hackers] noreturn & clang
Date: Wed, 06 Nov 2013 11:10:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

Am 06.11.2013 11:05, schrieb Peter Bex:
On Wed, Nov 06, 2013 at 11:01:50AM +0100, "Jörg F. Wittenberger" wrote:
Am 06.11.2013 10:48, schrieb Peter Bex:
A fix for this went in 2 weeks ago, as commit
dc071fbae201f2b8db5539fd016c0d51be0bbe15.  This ought to be available
on master.  AFAIK this hasn't hit the stability branch (yet).
Hm, according to git I'm sitting on master.
Also this commit is obviously applied and the code is in chicken.h
What version of clang are you using?

Looks like version 2.9.

   Originally, this noreturn
attribute was probably only used in GCC because clang didn't have
support for it.  I guess the newer version grew support and the
feature test we're now using should only trigger for versions which
support it at all.

Of course, if these warnings are shown by GCC it might be better to
investigate why, and attempt to actually fix them instead of working
around it by using another compiler!
Sure.  Just a matter of priorities.  I'm unpaid. :-/

I'm sad to admit: the other day I created a fresh file, which for a
while did not exhibit the problem.  After a while I did, so I was able
to figure out which kind of Scheme code would result in such C code. But
I forgot what it was.  Sorry.  Will have to redo that.
That's always useful.  Perhaps it had to do with a recompiled CHICKEN
which had different compiler flags?

IIRC it's been about rest arguments.  Not sure.


Cheers,
Peter




reply via email to

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