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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.50.40.39 with SMTP id u7mr10461984igk.9.1462139566935; Sun, 01 May 2016 14:52:46 -0700 (PDT) X-Received: by 10.157.37.168 with SMTP id q37mr347859ota.1.1462139566894; Sun, 01 May 2016 14:52:46 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!i5no1393980ige.0!news-out.google.com!k10ni315igv.0!nntp.google.com!sq19no1262269igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 1 May 2016 14:52:46 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:18f:900:8350:453d:87a5:de7c:1786; posting-account=AvekzAoAAABj-TclKcOWQmXwA49MFPGX NNTP-Posting-Host: 2601:18f:900:8350:453d:87a5:de7c:1786 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: I have no idea why this will not compile. From: John Smith Injection-Date: Sun, 01 May 2016 21:52:46 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:30331 Date: 2016-05-01T14:52:46-07:00 List-Id: On Sunday, May 1, 2016 at 2:47:31 AM UTC-4, Georg Bauhaus wrote: > On 01.05.16 05:22, John Smith wrote: > > This is the ADS file that I have: > > http://pastebin.ca/3587453 > > > > And this is the error message that I get: > > http://pastebin.ca/3587456 > > > > Ever since I've added the File_Type, I've gotten this error message. Is it impossible for me to store this value in an instance of a record? > > The technical reason was already stated. > > To solve, it's worth isolating the places in the program that will > actually be needing the File_Type component. I think the solution > will show it as a redundancy of the full type's definition. The hope was that I could keep everything inside of the object and open/close the file once (the closing would be done in the destructor.) I'll need to read up on Ada pointers to better understand what I'm getting myself into.