From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ee0e4483243b42b6 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!freenix!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: =?iso-8859-1?q?Bj=F6rn_Lundin?= Newsgroups: comp.lang.ada Subject: Re: io_graph.adb:7:22: warning: "Ada.Command_Line.Environment" is aninternal GNAT unit Date: Wed, 1 Dec 2004 23:01:20 +0100 Organization: Cuivre, Argent, Or Message-ID: References: <861a5c19.0411301148.9ef7992@posting.google.com> <3160ebF36m6ltU1@individual.net> <861a5c19.0412011120.1692fccf@posting.google.com> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: melchior.cuivre.fr.eu.org 1101938604 93937 212.85.156.195 (1 Dec 2004 22:03:24 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Wed, 1 Dec 2004 22:03:24 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: User-Agent: KMail/1.7 In-Reply-To: <861a5c19.0412011120.1692fccf@posting.google.com> Content-Disposition: inline X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:6701 Date: 2004-12-01T23:01:20+01:00 onsdag 01 december 2004 20:20 skrev MagIk: > "Marc A. Criley" wrote in message > news:<3160ebF36m6ltU1@individual.net>... > > > "Bj=F6rn Lundin" 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=20 it is, it will be equally non-portable. It is a 'conveniance' package provide by the compiler-vendor, not a package= =20 required to be distributed with all Ada compilers.=20 It's nothing wrong with it, just that it _might_ not be present when you us= e=20 another compiler, like Object Ada.. You can use it, or not. (If not do a 'pragma Import' on getenv, if your=20 targets are all unix) /Bj=F6rn