|
prefixed view Hi, all I'm trying to understand how prefixed calls work in Ada 2005. Here is an example: package pref_view is type Tg is tagged null record; procedure X (Item : Tg; Count : Integer); Object : Tg; procedure Y (Count : Integer) renames Object.X; generic with procedure Y (Count : Integer... 10 Dec 2007 00:00
Exceptions Is there any way to force programmers to catch exception that your function throws? Something like Java forcing coders to put try/catch blocks Thanks -- Shaun ... 10 Dec 2007 00:00
g-spitbo and Ada.Tags.Tag_Table G'day everyone And just when I thought it was just because of the Wide_Wide_ thing, I try it without all that and I get the same error. Using the following bos.gpr, bos.ads and bos.adb, I get the following error: ** bos.gpr: project BOS is for Source_Dirs use ("C:\Documents and Settings\All Users\Do... 10 Dec 2007 00:00
Wide_Wide_String and Ada.Tags.Tag_Table G'day everyone In the process of attempting to change the spitbol library into something that uses Wide_Wide_String, I've been hitting a brick wall with the following compile error: C:\DOCUME~1\ALLUSE~1\DOCUME~1\Projects\BOS>build Building debug version of dll gcc -c -g -s -gnatn -gnatQ -gnatf -gnato -g -gnat... 10 Dec 2007 00:00
AdaCL vs GNAT2007: "Deep_Tag_Finalize" not declared in "Finalization_Implementation" error Erik J Pessers writes: Dear all, Trying GNAT2007 iso the GCC GNAT compiler poses one issue: the Ada code I'm using relies on the ADACL library, and in particular the CG (garbage collection) modules. These seem to depend on a routine "Deep_Tag_Finalize" which is available in the Debian distro gcc-gn... 10 Dec 2007 00:00
ObjectAda and Long_Long_Float And if Float, Long_Flaot and Long_Long_Float etc. exist, there is no requirement that they have different sizes. Eurocopter Deutschland GmbH Sitz der Gesellschaft/Registered Office: Donauwoerth Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508 Vorsitzender des Aufsichtsrates/Chairman of the Su... 10 Dec 2007 00:00
AdaCL vs GNAT2007: "Deep_Tag_Finalize" not declared in "Finalization_Implementation"error Dear all, Trying GNAT2007 iso the GCC GNAT compiler poses one issue: the Ada code I'm using relies on the ADACL library, and in particular the CG (garbage collection) modules. These seem to depend on a routine "Deep_Tag_Finalize" which is available in the Debian distro gcc-gnat compiler, but does not seem to be ... 10 Dec 2007 00:00
ObjectAda and Long_Long_Float Float is predefined for any Ada compiler, i.e. it always exists. Others like Long_Float etc. are optionally predefined, i.e. might not exist on some compilers. All these predefined types' sizes are implementation dependent. Same with Integer, Short_Integer etc. Eurocopter Deutschland GmbH Sitz der Gesel... 10 Dec 2007 00:00
ObjectAda and Long_Long_Float G'day everyone, Is it the nature of the beast that ObjectAda 7.2.2 knows nothing (or appears to) about Long_Long_Float? GNAT does. Kind regards, Bruce. ... 10 Dec 2007 00:00
DOS Options I've been using GNAT 3.15p for a long time to write DOS-like project utiities to run on my Wintel desktop. I've just come up with a case where I'd like to implement optional parameters. Since the utility is DOS-like, I want to use the DOS form of optional parameters: attached to the name of the command, sepa... 21 Dec 2007 19:34 |