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: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!goblin3!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Strange compile-time error with Ada.Containers.Indefinite_Hashed_Maps Date: Mon, 19 May 2014 17:35:22 +0100 Organization: A noiseless patient Spider Message-ID: References: <9d912199-ff00-403f-b6e3-fb9632ec145e@googlegroups.com> <40abaf9f-39fd-41c6-9d04-48e37f30d5a9@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="942b5624700b15f09a730d9ed9406bd7"; logging-data="22507"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/p2i7k/W8ZUrkcsu13yjYfNhXR/nPwZck=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:ZcwzM3T88Y9xwL514aDcKKY9EIo= sha1:6ynL3CyJaYEeBxySCe0yp2JQfdg= X-Original-Bytes: 1827 Xref: number.nntp.dca.giganews.com comp.lang.ada:186483 Date: 2014-05-19T17:35:22+01:00 List-Id: mockturtle writes: > On Monday, May 19, 2014 3:49:45 PM UTC+2, Simon Wright wrote: >> mockturtle writes: >> >> >> >> > When I try to compile the body of the symbol table package I get in >> > the .ads the error >> >> > instantiation error at a-cihama.adb:1043 >> > invalid constraint: type has no discriminant >> >> >> >> All of GNAT GPL 2013, FSF GCC 4.8.1 and FSF GCC 4.9.0 are happy with >> your code. >> > > Strange... > > I tried my code on my PC at work; I have the same version of GNAT > installed also on my PCs at home. I'll try there. I should have said, I get the same error as you do with GNAT GPL 2014 on Mac OS X.