all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Hansen <david.hansen@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Add functions to C-mode?
Date: Sun, 20 Apr 2008 14:42:20 +0200	[thread overview]
Message-ID: <87k5isbsur.fsf@localhorst.mine.nu> (raw)
In-Reply-To: uabjo3e73.fsf@gnu.org

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





  reply	other threads:[~2008-04-20 12:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19 11:04 Add functions to C-mode? saneman
2008-04-19 13:01 ` Ph. Ivaldi
2008-04-19 17:16 ` David Hansen
     [not found] ` <mailman.10583.1208625909.18990.help-gnu-emacs@gnu.org>
2008-04-19 21:08   ` Jason Rumney
2008-04-20  7:17     ` David Hansen
2008-04-20 12:26       ` Eli Zaretskii
2008-04-20 12:42         ` David Hansen [this message]
2008-04-20 13:51           ` Eli Zaretskii
2008-04-22  9:36             ` David Hansen
     [not found]         ` <mailman.10609.1208696003.18990.help-gnu-emacs@gnu.org>
2008-04-20 13:28           ` Richard G Riley
2008-04-22  9:39             ` David Hansen
2008-04-20 12:01 ` Alan Mackenzie
     [not found] ` <mailman.10605.1208691810.18990.help-gnu-emacs@gnu.org>
2008-04-21  7:36   ` saneman
2008-04-21 10:51     ` Alan Mackenzie
     [not found]     ` <mailman.10650.1208777518.18990.help-gnu-emacs@gnu.org>
2008-04-21 11:49       ` Richard G Riley
2008-04-21 20:35         ` Alan Mackenzie
     [not found]         ` <mailman.10668.1208809134.18990.help-gnu-emacs@gnu.org>
2008-04-22  4:00           ` Richard G Riley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k5isbsur.fsf@localhorst.mine.nu \
    --to=david.hansen@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.