comp.lang.ada
 help / color / mirror / Atom feed
* Missing Search (..) Operation From Ada.Directories
@ 2006-05-04  1:14 Anh Vo
  2006-05-04 19:24 ` Randy Brukardt
  0 siblings, 1 reply; 3+ messages in thread
From: Anh Vo @ 2006-05-04  1:14 UTC (permalink / raw)


Operation Search (...) defined in A.16 paragraph 26/2 of the ARM 2005
is missing from GNAT under gcc-4.1.x (gcc-4.1-20060428) and gcc-4.2
Stage 3 (gcc-4.2-20060429). The specification of this operation is
copied and shown here for convenience.

procedure Search (
      Directory : in String;
      Pattern   : in String;
      Filter    : in Filter_Type := (others => True);
      Process   : not null access procedure (
          Directory_Entry : in Directory_Entry_Type));

Could any one know why? Thanks in advance for your insight.

AV




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

* Re: Missing Search (..) Operation From Ada.Directories
  2006-05-04  1:14 Missing Search (..) Operation From Ada.Directories Anh Vo
@ 2006-05-04 19:24 ` Randy Brukardt
  2006-05-04 19:38   ` Anh Vo
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Brukardt @ 2006-05-04 19:24 UTC (permalink / raw)


"Anh Vo" <anhvofrcaus@gmail.com> wrote in message
news:1146705264.736575.281650@u72g2000cwu.googlegroups.com...
> Operation Search (...) defined in A.16 paragraph 26/2 of the ARM 2005
> is missing from GNAT under gcc-4.1.x (gcc-4.1-20060428) and gcc-4.2
> Stage 3 (gcc-4.2-20060429). The specification of this operation is
> copied and shown here for convenience.
>
> procedure Search (
>       Directory : in String;
>       Pattern   : in String;
>       Filter    : in Filter_Type := (others => True);
>       Process   : not null access procedure (
>           Directory_Entry : in Directory_Entry_Type));
>
> Could any one know why? Thanks in advance for your insight.

Probably because that was a relatively last-minute insertion into the
package (it was added in February 2005), and as that was the only
substantive change made in the last couple of years, it may have been
overlooked. (It was missing from the Janus/Ada package until 10 seconds ago
:-), so they're not the only ones to have missed it.)

                                   Randy.





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

* Re: Missing Search (..) Operation From Ada.Directories
  2006-05-04 19:24 ` Randy Brukardt
@ 2006-05-04 19:38   ` Anh Vo
  0 siblings, 0 replies; 3+ messages in thread
From: Anh Vo @ 2006-05-04 19:38 UTC (permalink / raw)



Randy Brukardt wrote:
> "Anh Vo" <anhvofrcaus@gmail.com> wrote in message
> news:1146705264.736575.281650@u72g2000cwu.googlegroups.com...
> > Operation Search (...) defined in A.16 paragraph 26/2 of the ARM 2005
> > is missing from GNAT under gcc-4.1.x (gcc-4.1-20060428) and gcc-4.2
> > Stage 3 (gcc-4.2-20060429). The specification of this operation is
> > copied and shown here for convenience.
> >
> > procedure Search (
> >       Directory : in String;
> >       Pattern   : in String;
> >       Filter    : in Filter_Type := (others => True);
> >       Process   : not null access procedure (
> >           Directory_Entry : in Directory_Entry_Type));
> >
> > Could any one know why? Thanks in advance for your insight.
>
> Probably because that was a relatively last-minute insertion into the
> package (it was added in February 2005), and as that was the only
> substantive change made in the last couple of years, it may have been
> overlooked. (It was missing from the Janus/Ada package until 10 seconds ago
> :-), so they're not the only ones to have missed it.)

Thanks for your info. In addition, I am glad that Janus/Ada has it now.
I hope that AdaCore/GNAT will follow suit.

AV




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

end of thread, other threads:[~2006-05-04 19:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-04  1:14 Missing Search (..) Operation From Ada.Directories Anh Vo
2006-05-04 19:24 ` Randy Brukardt
2006-05-04 19:38   ` Anh Vo

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