From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,de8312f092ea7867 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!y11g2000yqm.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: YACT (Yet Another C Trap) Date: Sun, 29 Aug 2010 13:55:40 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <338f4d05-5b3b-47bd-bff8-76c1488eae6d@x42g2000yqx.googlegroups.com> NNTP-Posting-Host: 85.2.54.123 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1283115340 23291 127.0.0.1 (29 Aug 2010 20:55:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 29 Aug 2010 20:55:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y11g2000yqm.googlegroups.com; posting-host=85.2.54.123; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:13828 Date: 2010-08-29T13:55:40-07:00 List-Id: On 21 Sie, 11:32, mockturtle wrote: > int x = 10,000; // oops, it will compile, perhaps even without > warnings. Happy debugging! Did you actually tried or are just repeating unchecked nonsense? The above example is explicitly handled (forbidden) by both C and C++ standards - comma has special meaning in declarators. -- Maciej Sobczak * http://www.inspirel.com YAMI4 - Messaging Solution for Distributed Systems http://www.inspirel.com/yami4