[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add functions to C-mode?
From: |
Eli Zaretskii |
Subject: |
Re: Add functions to C-mode? |
Date: |
Sun, 20 Apr 2008 16:51:43 +0300 |
> From: David Hansen <david.hansen@gmx.net>
> Date: Sun, 20 Apr 2008 14:42:20 +0200
>
> On Sun, 20 Apr 2008 15:26:08 +0300 Eli Zaretskii wrote:
>
> >> From: David Hansen <david.hansen@gmx.net>
> >> Date: Sun, 20 Apr 2008 09:17:15 +0200
> >>
> >> On Sat, 19 Apr 2008 14:08:18 -0700 (PDT) Jason Rumney wrote:
> >>
> >> > On Apr 19, 6:16 pm, David Hansen <david.han...@gmx.net> wrote:
> >> >
> >> >> If you insist on "//" (which is btw not ANSI C)
> >> >
> >> > Single line comments starting with // are part of the current ANSI and
> >> > ISO standard (C99)
> >> > .
> >>
> >> AFAIK a standard w/o implementation.
> >
> > ??? You mean GCC does not count? The below compiles without any
> > warnings with GCC 3.4.2:
> >
> > $ cat tcomment.c
> > int main (void)
> > {
> > int foo = 3; // C99 comment
> >
> > return foo;
> > }
> >
> > $ gcc -std=c99 -Wall -Wextra -pedantic tcomment.c
> > $
>
> Supporting one tiny feature doesn't make it a full implementation of
> C99.
But this discussion _was_ about that one feature.
Re: Add functions to C-mode?, Alan Mackenzie, 2008/04/20
Message not available