[En-Nut-Discussion] Recent CVS changes
Harald Kipp
harald.kipp at egnite.de
Wed Nov 26 15:37:31 CET 2003
At 13:40 26.11.2003 +0100, you wrote:
>Harald Kipp <harald.kipp at egnite.de> wrote:
>
> > 2. C doesn't allow doubleslash comments. Modern
> > compilers accept this, but that doesn't make it
> > C standard and may introduce problems one day.
> >
> > 3. C doesn't allow variable declarations following
> > statements. This is C++, not C. AVRGCC allows this,
> > but that is a rare exception.
>
>AFAIK, both are now in the C99 standard. dunno, if this means it
>is ansi or not. just wanted to point this out.
Clemens,
Yes, I mixed up "standard C" with "portable C".
ANSI/ISO C99 faces the problem, that only very few compilers
_amy_ have fully implemented it. Thus it lacks portability
among existing compilers.
Harald
More information about the En-Nut-Discussion
mailing list