guile-devel
[Top][All Lists]
Advanced

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

Re: gcc 2.95 inline scm_is_pair workaround


From: Marius Vollmer
Subject: Re: gcc 2.95 inline scm_is_pair workaround
Date: Mon, 22 May 2006 02:38:41 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Kevin Ryde <address@hidden> writes:

>> Should we still support GCC 2.95?
>
> It's still in current debian unstable, so it's not totally dead.

I had the impression it is only there for compiling old Linux
kernels...

> Using it guards against some c99-isms (local variables in the middle
> of functions) so it has some use for development.

Isn't there some option for GCC 4 that warns about those?  I think
"-std=c89 -ansi -pedantic" might do it.

>>      * throw.c (scm_ithrow): Remove "asm volatile" hack.  It used to
>>      work around a bug in GCC 2.95.2 but is now a bug in itself.
>
> Doesn't look so evil as to cause a bug itself ...

I think the "asm volatile" hack stopped being accepted by GCC in some
version.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

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