[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add functions to C-mode?
From: |
Richard G Riley |
Subject: |
Re: Add functions to C-mode? |
Date: |
Sun, 20 Apr 2008 15:28:46 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
David Hansen <david.hansen@gmx.net> writes:
> 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.
>
> David
http://gcc.gnu.org/c99status.html
It's far from "one tiny feature".
- Add functions to C-mode?, saneman, 2008/04/19
- Re: Add functions to C-mode?, Ph . Ivaldi, 2008/04/19
- Re: Add functions to C-mode?, David Hansen, 2008/04/19
- Message not available
- Re: Add functions to C-mode?, Jason Rumney, 2008/04/19
- Re: Add functions to C-mode?, David Hansen, 2008/04/20
- Re: Add functions to C-mode?, Eli Zaretskii, 2008/04/20
- Re: Add functions to C-mode?, David Hansen, 2008/04/20
- Re: Add functions to C-mode?, Eli Zaretskii, 2008/04/20
- Re: Add functions to C-mode?, David Hansen, 2008/04/22
- Message not available
- Re: Add functions to C-mode?,
Richard G Riley <=
- Re: Add functions to C-mode?, David Hansen, 2008/04/22
Re: Add functions to C-mode?, Alan Mackenzie, 2008/04/20
Message not available