Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #5254

Re: // at beginning of line

Message-ID <ABbOoDBc5z5NFAmF@phaedsys.demon.co.uk> (permalink)
From Chris H <chris@phaedsys.org>
Newsgroups comp.lang.c
Subject Re: // at beginning of line
References <is64rm$qp7$1@speranza.aioe.org> <lnzkm1l3zz.fsf@nuthaus.mib.org> <af66a354-4fff-49c1-8803-df90208f8d06@24g2000yqk.googlegroups.com> <slrniuee5c.gtj.grahn+nntp@frailea.sa.invalid>
Date 2011-06-02 08:40 +0100

Show all headers | View raw


In message <slrniuee5c.gtj.grahn+nntp@frailea.sa.invalid>, Jorgen Grahn
<grahn+nntp@snipabacken.se> writes
>On Thu, 2011-06-02, Malcolm McLean wrote:
>It's a somewhat unfortunate choice in general, because it prevents you
>from using C89 tools on the code (such as gcc -std=c89). If you don't
>have C99 tools available, you become reliant on sloppy tools which
>accept C89 + // comments + an unknown other set of extensions (such as
>gcc -std=gnu89).


The tools that accept C90 + // are not sloppy.  On the other hand GCC
is.

The // was added to C99 because the vast majority of C95 compilers had
it. The job of ISO standards is to standardise what the industry is
doing not go off on flights of fancy which is why virtually no one fully
implements C99 over a decade on.

In fact if C12 comes out on time C99 will be the standard that never
was.



-- 
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills  Staffs  England     /\/\/\/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/


Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

// at beginning of line Federico <no.adress@nospam.com> - 2011-06-01 19:44 +0000
  Re: // at beginning of line Ben Pfaff <blp@cs.stanford.edu> - 2011-06-01 12:48 -0700
  Re: // at beginning of line Angel <angel+news@spamcop.net> - 2011-06-01 19:55 +0000
    Re: // at beginning of line Federico <no.adress@nospam.com> - 2011-06-01 20:46 +0000
      Re: // at beginning of line Keith Thompson <kst-u@mib.org> - 2011-06-01 13:54 -0700
        Re: // at beginning of line Federico <no.adress@nospam.com> - 2011-06-02 19:34 +0000
          Re: // at beginning of line Ben Pfaff <blp@cs.stanford.edu> - 2011-06-02 12:38 -0700
          Re: // at beginning of line Keith Thompson <kst-u@mib.org> - 2011-06-02 13:13 -0700
      Re: // at beginning of line Angel <angel+news@spamcop.net> - 2011-06-01 20:59 +0000
  Re: // at beginning of line Keith Thompson <kst-u@mib.org> - 2011-06-01 12:56 -0700
    Re: // at beginning of line Malcolm McLean <malcolm.mclean5@btinternet.com> - 2011-06-01 23:06 -0700
      Re: // at beginning of line Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-06-02 07:15 +0000
        Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-02 08:40 +0100
          Re: // at beginning of line James Kuyper <jameskuyper@verizon.net> - 2011-06-02 06:15 -0400
            Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-02 11:35 +0100
              Re: // at beginning of line James Kuyper <jameskuyper@verizon.net> - 2011-06-02 07:58 -0400
              Re: // at beginning of line Lorenzo Villari <vlllnz@tiscali.it> - 2011-06-02 15:18 +0200
                Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-02 14:59 +0100
              Re: // at beginning of line Ian Collins <ian-news@hotmail.com> - 2011-06-03 09:09 +1200
                Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-03 09:40 +0100
                Re: // at beginning of line Ian Collins <ian-news@hotmail.com> - 2011-06-03 20:51 +1200
                Re: // at beginning of line James Kuyper <jameskuyper@verizon.net> - 2011-06-03 06:57 -0400
                Re: // at beginning of line Nobody <nobody@nowhere.com> - 2011-06-03 12:54 +0100
                Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-03 13:27 +0100
                Re: // at beginning of line Keith Thompson <kst-u@mib.org> - 2011-06-03 09:42 -0700
                Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-05 17:27 +0100
                Re: // at beginning of line Keith Thompson <kst-u@mib.org> - 2011-06-05 12:35 -0700
                Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-06 09:27 +0100
                Re: // at beginning of line Keith Thompson <kst-u@mib.org> - 2011-06-06 09:29 -0700
                Re: // at beginning of line Roberto Waltman <usenet@rwaltman.com> - 2011-06-06 14:37 -0400
                Re: // at beginning of line Nobody <nobody@nowhere.com> - 2011-06-03 23:16 +0100
                Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-05 17:28 +0100
                Re: // at beginning of line Nobody <nobody@nowhere.com> - 2011-06-06 22:39 +0100
  Re: // at beginning of line Shao Miller <sha0.miller@gmail.com> - 2011-06-01 23:05 -0500
  Re: // at beginning of line Datesfat Chicks <datesfat.chicks@gmail.com> - 2011-06-02 13:34 -0400

csiph-web