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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f384032a8c47ef0d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news.abs.net!not-for-mail Newsgroups: comp.lang.ada Subject: Re: about OpenToken example compilation error References: <439b6ac7$0$20862$636a55ce@news.free.fr> <439c6be4$0$5526$626a14ce@news.free.fr> From: Stephen Leake Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:FTY6uiwawcvtHw3TmaDcAM64sCM= MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Sun, 11 Dec 2005 15:56:00 -0500 NNTP-Posting-Host: 66.159.65.1 X-Complaints-To: abuse@toad.net X-Trace: news.abs.net 1134334562 66.159.65.1 (Sun, 11 Dec 2005 15:56:02 EST) NNTP-Posting-Date: Sun, 11 Dec 2005 15:56:02 EST Xref: g2news1.google.com comp.lang.ada:6839 Date: 2005-12-11T15:56:00-05:00 List-Id: Lionel Draghi writes: > Stephen Leake a �crit : > ... >> I have not tried that yet, but I am using GNAT 5.03a. >> What sorts of errors are you getting? Perhaps it's one of the Ada >> 2006 >> features that is incompatible with Ada 95 (like the 'interface' keyword). > In the ASU_Example_5_10 : > make > ... > gcc-4.0 -c -I../../ asu_example_5_10-run.adb > asu_example_5_10.ads:125:55: "Token_ID" is not a visible entity of > "Master_Token" > asu_example_5_10.ads:141:40: invalid operand types for operator "+" > asu_example_5_10.ads:141:40: left operand has private type "Instance" > defined at opentoken-token-enumerated-list.ads:47, instance at line 64 > asu_example_5_10.ads:141:40: right operand has type access to > "Print_Value" defined at line 141 > > It's probably easy to fix, I just wonder if I am using the up to date > version. Hmm. I don't think I compiled that example. But it's probably due to GNAT getting better at enforcing the Ada 95 language; I fixed similar errors in my sources. >>>PS : and once more question : is there still a mail list for OpenToken >>>on AdaPower site? (I would like to have a look at the archive) >> The only things about OpenToken I found on AdaPower point to the >> OpenToken web site. > > I saw the reference to the list on this site : By 'this site' do you mean 'comp.lang.ada'? > "There's a email list avilable for OpenToken. To subscribe, send a > message to OpenToken-list-request@AdaPower.com with the word > "subscribe" in the body." I just sent a subscription request to that address; it bounced. So that email list does not exist. -- -- Stephe