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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f428ff2031155951 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Equivalent of dynamic_cast (downcast) for tagged types Date: Fri, 28 Jan 2011 06:07:42 +0100 Organization: Ada @ Home Message-ID: References: <375fb596-ab12-4cb0-a190-53d62b94b2e4@e9g2000vbi.googlegroups.com> <510d779c-d15b-4fc1-b831-bfc578ecdb4b@z3g2000prz.googlegroups.com> NNTP-Posting-Host: OjPmqUY/3zYGcdRaWOTU3g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/11.00 (Win32) Xref: g2news2.google.com comp.lang.ada:17729 Date: 2011-01-28T06:07:42+01:00 List-Id: Le Thu, 27 Jan 2011 23:35:28 +0100, Maciej Sobczak = a =C3=A9crit: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D41845 > > I have submitted this bug report more than one year ago. Looks like > nobody even bothered to check it. Not a bug to me, while I agree this is not expected: this is =E2=80=9Cno= t = portable=E2=80=9D instead. However, according to the Ada reference (some= where at = the beginning I remember), a compiler with specific added capabilities, = = must 1) inform about this none-standard feature 2) provide an option to = = run the compiler in strict standard mode. I read it two or three years = ago, and I suppose this apply to standard packages too (it was about = overall compiler requirements to be OK to be said =E2=80=9Can Ada compil= er=E2=80=9D). But this was not your main topic :p -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9CI am fluent in ASCII=E2=80=9D [Warren 2010]