Re: about OpenToken example compilation error



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.

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 :
"There's a email list avilable for OpenToken. To subscribe, send a message to OpenToken-list-request@xxxxxxxxxxxx with the word "subscribe" in the body."


--
Lionel Draghi

.



Relevant Pages

  • Re: For the AdaOS folks
    ... API that says create/delete an integer? ... >>as an Ada binding, I can do another registry query and get the ... libraries can strengthen the typing of the Ada interface. ...
    (comp.lang.ada)
  • Re: Properties
    ... To me interface = abstract type. ... Ada should have had proper multiple inheritance 15 years ago. ... You want a reference to the widget ... because we are using the VCL quite heavily. ...
    (comp.lang.ada)
  • Parser interface design
    ... I'm asking about interface design in Ada which might actually never turn ... between the parser and the renderer. ... Some callbacks are the same ...
    (comp.lang.ada)
  • Re: Why no Ada.Wide_Directories?
    ... That's what I wanted to mean: array interface implemented with its most naive implementation. ... The interface is good and is Ada side, the implementation may vary, and is compiler side. ... That's by the way one of the reason why assertions introduced with Ada 2012, are expected to be checked at runtime, because to warrant it to be statically valid, would lead to a real nightmare for the language maintainers. ...
    (comp.lang.ada)
  • Re: Generic Package
    ... addresses and refer to addresses in a consistent way. ... (I'll listen to Randy who said: "In any case, this is an Ada forum, ... an interface for expressing all preconditions, ... all orderings are ordered but some orderings are more ordered than ...
    (comp.lang.ada)