* Wide_Wide_String and Ada.Tags.Tag_Table
@ 2007-12-06 6:10 axtens
2007-12-06 7:40 ` axtens
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: axtens @ 2007-12-06 6:10 UTC (permalink / raw)
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 -gnata -gnat05 -I- -gnatA
C:\DOCUME~1\ALLUSE~1\DOCUME~1\Projects\BOS\bos.adb
a-except.ads:327:26: run-time configuration error
a-except.ads:327:26: entity "Ada.Tags.Tag_Table" not defined
compilation abandoned due to previous error
gnatmake: "c:\docume~1\alluse~1\docume~1\projects\bos\bos.adb"
compilation error
gnatbind: Cannot find: bos.ali
gnatlink: debug\bos.ali not found
dlltool: Unable to open base-file: debug\bos.base
gnatlink: debug\bos.ali not found
I've copied g-spitbo.ad? and related files into the project folder and
renamed them to
Spitbol32.adb
Spitbol32.ads
Spitbol32-Patterns.adb
Spitbol32-Table_VString.ads
Spitbol32-Table_Integer.ads
Spitbol32-Table_Boolean.ads
Spitbol32-Patterns.ads
Then I've referenced them in my project as follows.
with Spitbol32; use Spitbol32;
with Spitbol32.Patterns; use Spitbol32.Patterns;
with Spitbol32.Table_Boolean; use Spitbol32.Table_Boolean;
with Spitbol32.Table_Integer; use Spitbol32.Table_Integer;
with Spitbol32.Table_VString; use Spitbol32.Table_VString;
At this point all I have are these declarations. I haven't actually
called any of the public functions/procedures as yet.
What's this error about? I can tell that a-except.ads can't see the
Tags_Table type in Ada.Tags, but can't figure what to do about it.
Ideas, anyone?
Kind regards,
Bruce.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Wide_Wide_String and Ada.Tags.Tag_Table
2007-12-06 6:10 Wide_Wide_String and Ada.Tags.Tag_Table axtens
@ 2007-12-06 7:40 ` axtens
2007-12-06 8:20 ` axtens
2007-12-07 6:55 ` Stephen Leake
2 siblings, 0 replies; 4+ messages in thread
From: axtens @ 2007-12-06 7:40 UTC (permalink / raw)
I should point out, too, that I've modified the spitbol libraries so
that they use Ada.Strings.Wide_Wide_* packages rather than the
original Latin-1 ones.
Bruce.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Wide_Wide_String and Ada.Tags.Tag_Table
2007-12-06 6:10 Wide_Wide_String and Ada.Tags.Tag_Table axtens
2007-12-06 7:40 ` axtens
@ 2007-12-06 8:20 ` axtens
2007-12-07 6:55 ` Stephen Leake
2 siblings, 0 replies; 4+ messages in thread
From: axtens @ 2007-12-06 8:20 UTC (permalink / raw)
On Dec 6, 3:10 pm, axtens <Bruce.Axt...@gmail.com> wrote:
and yes, I could tweak a-except.ads by adding a ref to Ada.Tags but
am, justifiably I think, reluctant to do that.
The issue seems to be related to moving to Wide_Wide_* as in the
following excerpt from the code:
...
-- G N A T . S P I T B O
L --
...
with Ada.Strings; use Ada.Strings;
with Ada.Strings.Wide_Wide_Unbounded.Aux;
use
Ada.Strings.Wide_Wide_Unbounded.Aux;
with GNAT.Debug_Utilities; use GNAT.Debug_Utilities;
with GNAT.IO; use GNAT.IO;
with Unchecked_Deallocation;
package body Spitbol32 is
...
end Spitbol32;
Kind regards,
Bruce.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Wide_Wide_String and Ada.Tags.Tag_Table
2007-12-06 6:10 Wide_Wide_String and Ada.Tags.Tag_Table axtens
2007-12-06 7:40 ` axtens
2007-12-06 8:20 ` axtens
@ 2007-12-07 6:55 ` Stephen Leake
2 siblings, 0 replies; 4+ messages in thread
From: Stephen Leake @ 2007-12-07 6:55 UTC (permalink / raw)
axtens <Bruce.Axtens@gmail.com> writes:
> 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 -gnata -gnat05 -I- -gnatA
> C:\DOCUME~1\ALLUSE~1\DOCUME~1\Projects\BOS\bos.adb
> a-except.ads:327:26: run-time configuration error
> a-except.ads:327:26: entity "Ada.Tags.Tag_Table" not defined
> compilation abandoned due to previous error
This must be an unrelated bug; editing or renaming GNAT.Spitbol should
have absolutely no impact on Ada.Exceptions. It looks like an
installation problem; some .ali file has had a time stamp change, or
something.
Can you compile a simple Hello_World program?
Can you reinstall GNAT from scratch?
--
-- Stephe
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-12-07 6:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-06 6:10 Wide_Wide_String and Ada.Tags.Tag_Table axtens
2007-12-06 7:40 ` axtens
2007-12-06 8:20 ` axtens
2007-12-07 6:55 ` Stephen Leake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox