[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: abandon K&R C ?
From: |
Miles Bader |
Subject: |
Re: abandon K&R C ? |
Date: |
Tue, 30 Oct 2007 08:41:22 +0900 |
Eli Zaretskii <address@hidden> writes:
>> This also seems be a good opportunity abandon K&R C.
>>
>> I am not looking for an "opportunity" to do this.
>
> Btw, we can have the cake and eat it, too, by using the P_ macro
> (defined on lisp.h).
I think compiling Emacs using a K&R-only compiler has been impossible
for a long time anyway, as many Emacs functions have been written in
ANSI style with no regard for K&R-compatibility. Nobody has complained.
Morever, it would probably take a fair amount of work to make Emacs
compile with a K&R compiler again.
If there are actually any K&R-only compilers left (are there?!), it's
likely they're so crufty/out-of-date/underfeatured that they'd never be
able to handle Emacs anyway.
It doesn't seem worth it to me to _rewrite_ existing K&R-style
definitions -- that would just cause a lot of headaches for merging --
but I think it would be good to explicitly state that it's OK to use
ANSI-style definitions for new functions or rewrites etc.
Using P_ also seems sort of pointless, as it only exists for the benefit
of K&R. So I think it would also be good to state that it's unnecessary
to use P_ for new function declarations (in headers etc).
-Miles
--
If you can't beat them, arrange to have them beaten. [George Carlin]
- Re: desupporting X10 and old X11 releases, (continued)
- Re: desupporting X10 and old X11 releases, Richard Stallman, 2007/10/29
- Re: desupporting X10 and old X11 releases, Ulrich Mueller, 2007/10/30
- Re: desupporting X10 and old X11 releases, Richard Stallman, 2007/10/31
- Re: desupporting X10 and old X11 releases (was: Re: isearch multiple buffers), Richard Stallman, 2007/10/29
- Re: desupporting X10 and old X11 releases (was: Re: isearch multiple buffers), Richard Stallman, 2007/10/29
- abandon K&R C ?(was: Re: isearch multiple buffers), Dan Nicolaescu, 2007/10/28
- Re: abandon K&R C ?(was: Re: isearch multiple buffers), Richard Stallman, 2007/10/29
- Re: abandon K&R C ?(was: Re: isearch multiple buffers), Eli Zaretskii, 2007/10/29
- Re: abandon K&R C ?,
Miles Bader <=
- Re: isearch multiple buffers, Jan Djärv, 2007/10/29
- Re: isearch multiple buffers, Richard Stallman, 2007/10/29
- remove support for Sun windows (was Re: isearch multiple buffers), Dan Nicolaescu, 2007/10/30
- Re: remove support for Sun windows (was Re: isearch multiple buffers), Richard Stallman, 2007/10/31
- Re: remove support for Sun windows (was Re: isearch multiple buffers), Dan Nicolaescu, 2007/10/31
- Re: isearch multiple buffers, Richard Stallman, 2007/10/28
- Re: isearch multiple buffers, martin rudalics, 2007/10/25
- Re: isearch multiple buffers, Miles Bader, 2007/10/25
- Re: isearch multiple buffers, Juanma Barranquero, 2007/10/25
- Re: isearch multiple buffers, David Kastrup, 2007/10/25