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: a07f3367d7,e1bb40a3d604c4b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!w12g2000yqj.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: What is the best way to convert Integer to Short_Short_Integer? Date: Sun, 13 Jun 2010 11:07:29 -0700 (PDT) Organization: http://groups.google.com Message-ID: <24e3f643-5bb5-44c9-89ec-093247f6c194@w12g2000yqj.googlegroups.com> References: <3133a7d5-37ec-4db7-94f0-df15b3535af1@k39g2000yqb.googlegroups.com> NNTP-Posting-Host: 83.63.187.43 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1276452449 24825 127.0.0.1 (13 Jun 2010 18:07:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 13 Jun 2010 18:07:29 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: w12g2000yqj.googlegroups.com; posting-host=83.63.187.43; 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.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:12652 Date: 2010-06-13T11:07:29-07:00 List-Id: On 13 Cze, 06:26, BrianG wrote: > What do you mean by a risk estimate, a probability for this particular > type? The likelihood of getting into trouble by using this type. (I use the word "likelihood" instead of "probability" as this obviously cannot be expressed with a single number.) >=A0I would doubt anyone would have surveyed all Ada compilers just > to generate that number. Because there are so many Ada compilers? > (I don't see how this would be different from > the same situation in any language. =A0For example, how many C++ compiler= s > don't implement a type named Short_Short_Integer?) Well, here the situation is a bit easier, as no C++ compiler at all implements a type named Short_Short_Integer. However, you might take this page for comparison: http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport It presents the compatibility chart for new language features - that is, it provides the information on which compiler supports which feature. As you see, making such a list is possible. I hope that this example will explain what kind of information I'm looking for. > > Or is there somewhere a public list of such incompatibilities? > > What incompatibilities, incompatible with what? With Short_Short_Integer, of course. I will take the opportunity to extend my question: is there a "compatibility list" for Ada compilers with regard to all language features that are described as optional? Not just Short_Short_Integer, but also Long_Long_Integer (just joking :-) ), pragmas, annexes, etc.? -- Maciej Sobczak * http://www.inspirel.com YAMI4 - Messaging Solution for Distributed Systems http://www.inspirel.com/yami4