* io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is an internal GNAT unit
@ 2004-11-30 19:48 MagIk
2004-11-30 20:44 ` Björn Lundin
0 siblings, 1 reply; 9+ messages in thread
From: MagIk @ 2004-11-30 19:48 UTC (permalink / raw)
Hi all,
when i Compil my programme (requier Lib X11) i have this 2 Warning
io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is an
internal GNAT unit
io_graph.adb:7:22: warning: use of this unit is non-portable and
version-dependent
What is it?
ThX !
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is an internal GNAT unit
2004-11-30 19:48 io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is an internal GNAT unit MagIk
@ 2004-11-30 20:44 ` Björn Lundin
2004-12-01 13:48 ` io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is aninternal " Marc A. Criley
0 siblings, 1 reply; 9+ messages in thread
From: Björn Lundin @ 2004-11-30 20:44 UTC (permalink / raw)
To: comp.lang.ada
tisdag 30 november 2004 20:48 skrev MagIk:
> Hi all,
>
> when i Compil my programme (requier Lib X11) i have this 2 Warning
>
> io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is an
> internal GNAT unit
> io_graph.adb:7:22: warning: use of this unit is non-portable and
> version-dependent
Just what it says. If you change compiler, it won't work since the package
'Ada.Command_Line.Environment' is a gnat-specific package
/Björn
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is aninternal GNAT unit
2004-11-30 20:44 ` Björn Lundin
@ 2004-12-01 13:48 ` Marc A. Criley
2004-12-01 19:20 ` MagIk
0 siblings, 1 reply; 9+ messages in thread
From: Marc A. Criley @ 2004-12-01 13:48 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]
"Bj�rn Lundin" <bnl@tiscali.se> wrote:
>tisdag 30 november 2004 20:48 skrev MagIk:
>> Hi all,
>>
>> when i Compil my programme (requier Lib X11) i have this 2 Warning
>>
>> io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is an
>> internal GNAT unit
>> io_graph.adb:7:22: warning: use of this unit is non-portable and
>> version-dependent
>
> Just what it says. If you change compiler, it won't work since the package
> 'Ada.Command_Line.Environment' is a gnat-specific package
And if you change GNAT compiler _version_ it may not work the same, or even
be present, since it's specific to GNAT.
Marc A. Criley
McKae Technologies
www.mckae.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is aninternal GNAT unit
2004-12-01 13:48 ` io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is aninternal " Marc A. Criley
@ 2004-12-01 19:20 ` MagIk
2004-12-01 22:01 ` Björn Lundin
2004-12-02 6:46 ` Per Sandberg
0 siblings, 2 replies; 9+ messages in thread
From: MagIk @ 2004-12-01 19:20 UTC (permalink / raw)
"Marc A. Criley" <mcNOSPAM@mckae.com> wrote in message news:<3160ebF36m6ltU1@individual.net>...
> "Bj�rn Lundin" <bnl@tiscali.se> wrote:
> >tisdag 30 november 2004 20:48 skrev MagIk:
> >> Hi all,
> >>
> >> when i Compil my programme (requier Lib X11) i have this 2 Warning
> >>
> >> io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is an
> >> internal GNAT unit
> >> io_graph.adb:7:22: warning: use of this unit is non-portable and
> >> version-dependent
> >
> > Just what it says. If you change compiler, it won't work since the package
> > 'Ada.Command_Line.Environment' is a gnat-specific package
>
> And if you change GNAT compiler _version_ it may not work the same, or even
> be present, since it's specific to GNAT.
>
> Marc A. Criley
> McKae Technologies
> www.mckae.com
ok, i have the version 3.3.4 (I have the version of slackware 10..)
but i could installl gnat-3.15P.. but i dont know how Instal it :(
how install the Gnat-3.15P for Slack 10?
ThX!
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is aninternal GNAT unit
2004-12-01 19:20 ` MagIk
@ 2004-12-01 22:01 ` Björn Lundin
2004-12-02 6:46 ` Per Sandberg
1 sibling, 0 replies; 9+ messages in thread
From: Björn Lundin @ 2004-12-01 22:01 UTC (permalink / raw)
To: comp.lang.ada
onsdag 01 december 2004 20:20 skrev MagIk:
> "Marc A. Criley" <mcNOSPAM@mckae.com> wrote in message
> news:<3160ebF36m6ltU1@individual.net>...
>
> > "Björn Lundin" <bnl@tiscali.se> wrote:
> > >tisdag 30 november 2004 20:48 skrev MagIk:
> > >> Hi all,
> > >>
> > >> when i Compil my programme (requier Lib X11) i have this 2 Warning
> > >>
> > >> io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is an
> > >> internal GNAT unit
> > >> io_graph.adb:7:22: warning: use of this unit is non-portable and
> > >> version-dependent
> > >
> > > Just what it says. If you change compiler, it won't work since the
> > > package 'Ada.Command_Line.Environment' is a gnat-specific package
> >
> > And if you change GNAT compiler _version_ it may not work the same, or
> > even be present, since it's specific to GNAT.
> >
> > Marc A. Criley
> > McKae Technologies
> >
> > www.mckae.com
>
> ok, i have the version 3.3.4 (I have the version of slackware 10..)
>
> but i could installl gnat-3.15P.. but i dont know how Instal it :(
>
> how install the Gnat-3.15P for Slack 10?
No, you misunderstand. The package may or may not be available in 3.15, but if
it is, it will be equally non-portable.
It is a 'conveniance' package provide by the compiler-vendor, not a package
required to be distributed with all Ada compilers.
It's nothing wrong with it, just that it _might_ not be present when you use
another compiler, like Object Ada..
You can use it, or not. (If not do a 'pragma Import' on getenv, if your
targets are all unix)
/Björn
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is aninternal GNAT unit
2004-12-01 19:20 ` MagIk
2004-12-01 22:01 ` Björn Lundin
@ 2004-12-02 6:46 ` Per Sandberg
2004-12-02 11:35 ` Martin Krischik
1 sibling, 1 reply; 9+ messages in thread
From: Per Sandberg @ 2004-12-02 6:46 UTC (permalink / raw)
To: MagIk; +Cc: comp.lang.ada
Dont install GNAT 3.15 !
A much more modern compiler is included in GCC 3.3.4 and that compiler
is namede GNAT 5.xx.
When talking GNAT versions:
GNAT 3.15 is part of GCC 2.8
GNAT 5.xx is part of GCC 3.xx
/Per
MagIk wrote:
>"Marc A. Criley" <mcNOSPAM@mckae.com> wrote in message news:<3160ebF36m6ltU1@individual.net>...
>
>
>>"Bj�rn Lundin" <bnl@tiscali.se> wrote:
>>
>>
>>>tisdag 30 november 2004 20:48 skrev MagIk:
>>>
>>>
>>>>Hi all,
>>>>
>>>>when i Compil my programme (requier Lib X11) i have this 2 Warning
>>>>
>>>>io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is an
>>>>internal GNAT unit
>>>>io_graph.adb:7:22: warning: use of this unit is non-portable and
>>>>version-dependent
>>>>
>>>>
>>>Just what it says. If you change compiler, it won't work since the package
>>>'Ada.Command_Line.Environment' is a gnat-specific package
>>>
>>>
>>And if you change GNAT compiler _version_ it may not work the same, or even
>>be present, since it's specific to GNAT.
>>
>>Marc A. Criley
>>McKae Technologies
>>
>>
>
>
>
>>www.mckae.com
>>
>>
>
>ok, i have the version 3.3.4 (I have the version of slackware 10..)
>
>but i could installl gnat-3.15P.. but i dont know how Instal it :(
>
>how install the Gnat-3.15P for Slack 10?
>
>ThX!
>_______________________________________________
>comp.lang.ada mailing list
>comp.lang.ada@ada-france.org
>http://www.ada-france.org/mailman/listinfo/comp.lang.ada
>
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is aninternal GNAT unit
2004-12-02 6:46 ` Per Sandberg
@ 2004-12-02 11:35 ` Martin Krischik
2004-12-02 17:11 ` Per Sandberg
0 siblings, 1 reply; 9+ messages in thread
From: Martin Krischik @ 2004-12-02 11:35 UTC (permalink / raw)
Per Sandberg wrote:
> Dont install GNAT 3.15 !
> A much more modern compiler is included in GCC 3.3.4 and that compiler
> is namede GNAT 5.xx.
> When talking GNAT versions:
> GNAT 3.15 is part of GCC 2.8
> GNAT 5.xx is part of GCC 3.xx
Well, I allways though that gcc 3.4.3 (Windows 3.4.2) is the latest version
available and far better then the 3.3.x versions.
With Regards
Martin
--
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is aninternal GNAT unit
2004-12-02 11:35 ` Martin Krischik
@ 2004-12-02 17:11 ` Per Sandberg
2004-12-02 20:53 ` Simon Wright
0 siblings, 1 reply; 9+ messages in thread
From: Per Sandberg @ 2004-12-02 17:11 UTC (permalink / raw)
To: martin; +Cc: comp.lang.ada
Agreed 100%
But as far as i remember the first gnat 5.xx releases was based on gcc
3.3 ( I may be wrong on that one as well)
but of course go for GCC 3.4.x or GCC 4.0 when that one is avalible.
/Sorry for the miss
/Per
Martin Krischik wrote:
>Per Sandberg wrote:
>
>
>
>>Dont install GNAT 3.15 !
>>A much more modern compiler is included in GCC 3.3.4 and that compiler
>>is namede GNAT 5.xx.
>>When talking GNAT versions:
>> GNAT 3.15 is part of GCC 2.8
>> GNAT 5.xx is part of GCC 3.xx
>>
>>
>
>Well, I allways though that gcc 3.4.3 (Windows 3.4.2) is the latest version
>available and far better then the 3.3.x versions.
>
>With Regards
>
>Martin
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is aninternal GNAT unit
2004-12-02 17:11 ` Per Sandberg
@ 2004-12-02 20:53 ` Simon Wright
0 siblings, 0 replies; 9+ messages in thread
From: Simon Wright @ 2004-12-02 20:53 UTC (permalink / raw)
Per Sandberg <per.sandberg@bredband.net> writes:
> But as far as i remember the first gnat 5.xx releases was based on
> gcc 3.3 ( I may be wrong on that one as well)
3.2.3
But for the public version, go for newer GCC's as others have said.
--
Simon Wright 100% Ada, no bugs.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-12-02 20:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-30 19:48 io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is an internal GNAT unit MagIk
2004-11-30 20:44 ` Björn Lundin
2004-12-01 13:48 ` io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is aninternal " Marc A. Criley
2004-12-01 19:20 ` MagIk
2004-12-01 22:01 ` Björn Lundin
2004-12-02 6:46 ` Per Sandberg
2004-12-02 11:35 ` Martin Krischik
2004-12-02 17:11 ` Per Sandberg
2004-12-02 20:53 ` Simon Wright
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox