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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,304c86061dc69dba X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,5cb36983754f64da X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-11 13:14:03 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!btnet-peer1!btnet-feed3!newreader.ukcore.bt.net!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada,comp.lang.c++ Subject: Re: No call for Ada (was Re: Announcing new scripting/prototyping language) Date: Wed, 11 Feb 2004 21:13:02 +0000 (UTC) Organization: BT Openworld Message-ID: References: <20040206174017.7E84F4C4114@lovelace.ada-france.org> <54759e7e.0402071124.322ea376@posting.google.com> <2460735.u7KiuvdgQP@linux1.krischik.com> <54759e7e.0402081525.50c7adae@posting.google.com> NNTP-Posting-Host: host81-129-61-126.in-addr.btopenworld.com X-Trace: titan.btinternet.com 1076533982 3187 81.129.61.126 (11 Feb 2004 21:13:02 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Wed, 11 Feb 2004 21:13:02 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.lang.ada:5453 comp.lang.c++:18762 Date: 2004-02-11T21:13:02+00:00 List-Id: "Jerry Coffin" wrote in message news:MPG.1a93b9e1697e47b4989c8c@news.clspco.adelphia.net... > If you insist on only compiling it as C, at least use a good compiler. > Comeau C (for one example) produces the following in C mode: > > "enum.c", line 6: warning: enumerated type mixed with another type > P (42); // no compiler check! > ^ > > This means that only a human carefully reviewing this program will see > > the mistake > > A fundamental mistake: assuming that one compiler's inferiority means > something about the language itself, or even about other compilers. That's all well and good but where in the C standard is it required to produce a warning?.. That's the bottom line - what one language throws out as an error, another may say nothing and then the user is left to the vagaries of what a particular vendor offers.