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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Non_Primitive Operations and Object.Operation Resolution Date: Fri, 22 Apr 2016 17:38:20 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <552a43ba-5a15-4d46-bb74-7d144d3cd77c@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 23 Apr 2016 00:34:58 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="48b46be33beed75863f69afa437f956b"; logging-data="21949"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/M6ydu/KJZk9U4AFh/Dtzo1lUPpBHnpg=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: <552a43ba-5a15-4d46-bb74-7d144d3cd77c@googlegroups.com> Cancel-Lock: sha1:MV8IF8GVaBRRatH73xYQysKoQ0I= Xref: news.eternal-september.org comp.lang.ada:30253 Date: 2016-04-22T17:38:20-07:00 List-Id: On 04/22/2016 04:49 PM, ytomino wrote: > I think It's a bug of the compiler. > > I tried to move the prototype of Element from body to spec. > Then, I got success to compile it with gcc-6.0.0-20160401. That does seem indicative of a compiler error. Where the declaration appears shouldn't make a difference. -- Jeff Carter "Go and boil your bottoms." Monty Python & the Holy Grail 01