comp.lang.ada
 help / color / mirror / Atom feed
From: sjw <simon.j.wright@mac.com>
Subject: Re: GNAT on WinXP: System.OS_Lib.Spawn raises Program_Error
Date: Sun, 3 May 2009 03:33:18 -0700 (PDT)
Date: 2009-05-03T03:33:18-07:00	[thread overview]
Message-ID: <e5e47c6b-ed87-47ee-84e7-aa602524019c@p4g2000vba.googlegroups.com> (raw)
In-Reply-To: op.utbos0e85afhvo@naropa

On May 2, 11:01 pm, "Ed Falis" <fa...@verizon.net> wrote:
> On Sat, 02 May 2009 16:39:57 -0400, anon <a...@anon.org> wrote:
> > GNAT.OS_LIB existed in GNAT 3.15p  but since GNAT 2005 it have been
> > moved to System.OS_LIB.  And the GNAT.OS_LIB just renames System.OS_LIB
> > which makes this package a legacy for older projects and can be avoided  
> > for
> > future use. It just causes more work for the compiler which increase the
> > compile time.
>
> You're wrong.  GNAT.OS_Lib is the intended interface for users (normally  
> you will get a warning about using an implementation unit subject to  
> unpredictable change if you use System.OS_Lib).  GNAT.OS_Lib is an  
> implementation-defined unit provided to users.  That it is a renaming of  
> System.OS_Lib is irrelevant (and also does not cause any noticable  
> compilation overhead).

With GCC 4.3.3 on Mac OS X,

$ gnatmake -f -gnatwaL test
gcc -c -gnatwaL test.adb
test.adb:7:03: warning: "Program_Name" is not modified, could be
declared constant
gnatbind -x test.ali
gnatlink test.ali
gnatlink: warning: executable name "test" may conflict with shell
command

So no warning about implementation-defined units there (I have seen
them, though).



  parent reply	other threads:[~2009-05-03 10:33 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-01 21:39 GNAT on WinXP: System.OS_Lib.Spawn raises Program_Error daniel.wengelin
2009-05-01 21:58 ` Jeffrey R. Carter
2009-05-02  4:16 ` anon
2009-05-02 15:59   ` Martin
2009-05-02 20:39     ` anon
2009-05-02 22:01       ` Ed Falis
2009-05-02 23:20         ` anon
2009-05-03 13:24           ` Ed Falis
2009-05-04  0:22             ` anon
2009-05-04  1:21               ` Ed Falis
2009-05-03 10:33         ` sjw [this message]
2009-05-03 13:27           ` Ed Falis
2009-05-04 13:32           ` Robert A Duff
2009-05-03  9:42       ` Martin
2009-05-05  0:04       ` Randy Brukardt
2009-05-05  2:43         ` anon
2009-05-05  8:06           ` Martin
2009-05-05 23:40             ` Randy Brukardt
2009-05-02 20:31   ` daniel.wengelin
2009-05-03  2:22     ` Hang
2009-05-02  6:28 ` Example of Spawn call anon
2009-05-02 15:50   ` Hang
2009-05-02 18:28     ` anon
2009-05-02 19:38     ` sjw
2009-05-02 19:47       ` sjw
2009-05-02 20:59         ` anon
replies disabled

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