Re: [AD] Indexed datafiles |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2005-12-31, Elias Pschernig <elias@xxxxxxxxxx> wrote:
> On Sat, 2005-12-31 at 11:55 +1100, Peter Wang wrote:
> > > > Stick to pre-C99 C.
> > >
> > > Also in 4.3? I thought we agreed on allowing C99 there some time ago..
> >
> > Did we? I don't think we should break compatibility with pre-C99
> > compilers unnecessarily.
>
> So you want to keep MSVC 6 and gcc 2.95 compatibility? I think that's
> just making life painful for ourselves, and we should use C99 where it
> makes sense, in 4.3.
There better be a good reason for breaking compatibility. Declaring
local variables anywhere is not a good enough reason -- in most cases a
pair of braces will allow a similar thing while retaining compatibility.
(And is clearer, too, IMHO.)
Peter