From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: YACT (Yet Another C Trap)
Date: Sun, 29 Aug 2010 13:55:40 -0700 (PDT)
Date: 2010-08-29T13:55:40-07:00 [thread overview]
Message-ID: <c02d8eee-bf6f-406e-8d24-f741798c7e11@y11g2000yqm.googlegroups.com> (raw)
In-Reply-To: 338f4d05-5b3b-47bd-bff8-76c1488eae6d@x42g2000yqx.googlegroups.com
On 21 Sie, 11:32, mockturtle <framefri...@gmail.com> 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
next prev parent reply other threads:[~2010-08-29 20:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-21 9:32 YACT (Yet Another C Trap) mockturtle
2010-08-27 4:13 ` Shark8
2010-08-29 20:55 ` Maciej Sobczak [this message]
2010-08-30 8:21 ` stefan-lucks
2010-08-30 7:52 ` Maciej Sobczak
2010-08-30 8:28 ` stefan-lucks
2010-08-30 10:13 ` Peter C. Chapin
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox