From: | alexfrunews@gmail.com |
Newsgroups: | comp.compilers |
Date: | Mon, 5 Sep 2016 17:26:20 -0700 (PDT) |
Organization: | Compilers Central |
References: | 16-09-001 16-09-002 |
Injection-Info: | miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="67691"; mail-complaints-to="abuse@iecc.com" |
Keywords: | C |
Posted-Date: | 05 Sep 2016 22:51:09 EDT |
On Sunday, September 4, 2016 at 3:56:56 PM UTC-7, jacobnavia wrote:
> Why should they care? If you write duplicate switch cases its not their
> fault, its yours.
It is a constraint violation, and a trivial one, that the compiler
must identify and report instead of silently producing code that is
broken or appears to work by chance.
Alex
Return to the
comp.compilers page.
Search the
comp.compilers archives again.