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,a6fe9ef21ba269dc X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: Ada Smileys in C++ lib Conversion Date: Wed, 18 Aug 2010 17:31:59 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <1a9b39b0-73f6-497c-a8f4-abf8129886ac@t20g2000yqa.googlegroups.com> <9b88e5a4-c588-4997-ad5c-2efa216fe4f4@a4g2000prm.googlegroups.com> <95tc66hjv3stdk0nhdv9o46e5l2ecdog5j@4ax.com> <1b64e5c2-f3d5-41e9-99cb-70e92c074d33@q22g2000yqm.googlegroups.com> Injection-Date: Wed, 18 Aug 2010 17:31:59 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="13052"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188tQsvIo3JndwcdSxje+/MwaeFX9UNvIE=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:amY2H0SVw081aJfmNUH+K99Qtkw= Xref: g2news1.google.com comp.lang.ada:13493 Date: 2010-08-18T17:31:59+00:00 List-Id: Maciej Sobczak expounded in news:1b64e5c2-f3d5-41e9-99cb-70e92c074d33 @q22g2000yqm.googlegroups.com: >> >> Further, the switch statement doesn't tell you about the >> >> cases which are missing. >> >> > Try g++ -Wswitch. >> >> GCC extension. > > No, it is not an extension. It is a compiler option. > The language standard does not define what options the compiler should > support, so it does not make much sense to declare that some option is > an extension. All options are features of respective products and > products compete by offering different sets of features. ... >> Try it on HP or AIX C compiler. > > And your point is? > It is true that the language standard does not mandate such coverage > check (unlike in Ada), but that does not make such analysis unfeasible > or forbidden. Now you understand my point, exactly. Warren