comp.lang.ada
 help / color / mirror / Atom feed
* gnat: can't find package
@ 2006-10-21  1:02 Tim Rowe
  2006-10-21  2:57 ` Anh Vo
  2006-10-21  6:17 ` Jeffrey R. Carter
  0 siblings, 2 replies; 5+ messages in thread
From: Tim Rowe @ 2006-10-21  1:02 UTC (permalink / raw)


The gnat documentation tells me to expect a package 
Ada.Strings.Maps.Constants, in which I should find
Lower_Set : constant Character_Set;

It doesn't seem to be there. AdaGIDE doesn't offer "Constants" as a 
completion for "Ada.Strings.Maps.", the compiler doesn't recognise 
Lower_Set, and grep doesn't turn up Lower_Set anywhere in the gnat libs 
directory. Is it anywhere to be found, and if so how do I get the 
compiler to recognise it? And if it isn't, how do I convert a string to 
lower case?

TIA,

Tim Rowe



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gnat: can't find package
  2006-10-21  1:02 gnat: can't find package Tim Rowe
@ 2006-10-21  2:57 ` Anh Vo
  2006-10-21  6:17 ` Jeffrey R. Carter
  1 sibling, 0 replies; 5+ messages in thread
From: Anh Vo @ 2006-10-21  2:57 UTC (permalink / raw)



Tim Rowe wrote:
> The gnat documentation tells me to expect a package
> Ada.Strings.Maps.Constants, in which I should find
> Lower_Set : constant Character_Set;
>
It is in there. You need to make it visible with dot notation or use
clause. Check the scope and visibility rules from the Ada Language
Reference Manual (LRM).

AV




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gnat: can't find package
  2006-10-21  1:02 gnat: can't find package Tim Rowe
  2006-10-21  2:57 ` Anh Vo
@ 2006-10-21  6:17 ` Jeffrey R. Carter
  2006-10-21 17:03   ` Tim Rowe
  1 sibling, 1 reply; 5+ messages in thread
From: Jeffrey R. Carter @ 2006-10-21  6:17 UTC (permalink / raw)


Tim Rowe wrote:
> The gnat documentation tells me to expect a package 
> Ada.Strings.Maps.Constants, in which I should find
> Lower_Set : constant Character_Set;
> 
> It doesn't seem to be there. AdaGIDE doesn't offer "Constants" as a 
> completion for "Ada.Strings.Maps.", the compiler doesn't recognise 
> Lower_Set, and grep doesn't turn up Lower_Set anywhere in the gnat libs 
> directory. Is it anywhere to be found, and if so how do I get the 
> compiler to recognise it? And if it isn't, how do I convert a string to 
> lower case?

This is a standard package. See ARM A.4.6. If you're unable to with it, 
there's a problem with your installation.

-- 
Jeff Carter
"I was hobbling along, minding my own business, all of a
sudden, up he comes, cures me! One minute I'm a leper with
a trade, next minute my livelihood's gone! Not so much as a
'by your leave!' You're cured, mate. Bloody do-gooder!"
Monty Python's Life of Brian
76



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gnat: can't find package
  2006-10-21  6:17 ` Jeffrey R. Carter
@ 2006-10-21 17:03   ` Tim Rowe
  2006-10-21 17:54     ` Tim Rowe
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Rowe @ 2006-10-21 17:03 UTC (permalink / raw)


Jeffrey R. Carter wrote:
> Tim Rowe wrote:
>> The gnat documentation tells me to expect a package 
>> Ada.Strings.Maps.Constants, in which I should find
>> Lower_Set : constant Character_Set;
>>
>> It doesn't seem to be there. AdaGIDE doesn't offer "Constants" as a 
>> completion for "Ada.Strings.Maps.", the compiler doesn't recognise 
>> Lower_Set, and grep doesn't turn up Lower_Set anywhere in the gnat 
>> libs directory. Is it anywhere to be found, and if so how do I get the 
>> compiler to recognise it? And if it isn't, how do I convert a string 
>> to lower case?
> 
> This is a standard package. See ARM A.4.6. If you're unable to with it, 
> there's a problem with your installation.

That's what I thought. The installation is the one that 
gnat-3.15p-nt.exe gave me, so if it's not in there then I don't know 
where I can get it. The other libraries I've tried are in there.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gnat: can't find package
  2006-10-21 17:03   ` Tim Rowe
@ 2006-10-21 17:54     ` Tim Rowe
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Rowe @ 2006-10-21 17:54 UTC (permalink / raw)


Tim Rowe wrote:
> Jeffrey R. Carter wrote:
>> Tim Rowe wrote:
>>> The gnat documentation tells me to expect a package 
>>> Ada.Strings.Maps.Constants, in which I should find
>>> Lower_Set : constant Character_Set;
>>>
>>> It doesn't seem to be there. AdaGIDE doesn't offer "Constants" as a 
>>> completion for "Ada.Strings.Maps.", the compiler doesn't recognise 
>>> Lower_Set, and grep doesn't turn up Lower_Set anywhere in the gnat 
>>> libs directory. Is it anywhere to be found, and if so how do I get 
>>> the compiler to recognise it? And if it isn't, how do I convert a 
>>> string to lower case?
>>
>> This is a standard package. See ARM A.4.6. If you're unable to with 
>> it, there's a problem with your installation.
> 
> That's what I thought. The installation is the one that 
> gnat-3.15p-nt.exe gave me, so if it's not in there then I don't know 
> where I can get it. The other libraries I've tried are in there.

Ok, cancel that. Found it (although AdaGIDE seems to be uncertain about it).



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-21 17:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-21  1:02 gnat: can't find package Tim Rowe
2006-10-21  2:57 ` Anh Vo
2006-10-21  6:17 ` Jeffrey R. Carter
2006-10-21 17:03   ` Tim Rowe
2006-10-21 17:54     ` Tim Rowe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox