[AWS] AWS Problem

Al Christians achrist@easystreet.com
Wed, 17 Oct 2001 03:03:03 -0700


Thanks much.  Got it working with option -O0 on gnatmake.

Anyone know if this is fixed in 3.14?



Al Christians



Anisimkov wrote:
> 
> Al,
> 
> I was facing this problem when trying to compile
> aws-serverices-directory.adb with optimization switch -O2.
> It is some problem with GNAT 3.13 optimization.
> See the src/makefile of AWS distribution,
> there are some modules compiled without optimization becouse of this
> problem.
> 
> Try to turn off optimization.
> 
> ----- Original Message -----
> From: "Al Christians" <achrist@easystreet.com>
> To: <aws@lists.act-europe.fr>
> Sent: Wednesday, October 17, 2001 14:23
> Subject: [AWS] AWS Problem
> 
> > Tonight I have hit an apparently bad problem trying to use aws-1.0
> > on NT 4.0 SP6 w gnat 3.13p.  This looks ugly and bad enough for me
> > to think that this might not be a problem with aws, but maybe with
> > gnat, Windows, my machine or IDK what.
> >
> > I was trying to use the directory browse function.  It was giving
> > me trouble.  I inserted some debugging displays around line 450 of
> > aws-services-directory.adb:
> >
> >
> >       Dir_Str : constant String := End_Slash (Directory_Name);
> >
> >    begin
> >       -- Added the following two lines:
> >       Ada.Text_IO.Put_Line( "Dir Name   =" & Directory_Name );
> >       Ada.Text_IO.Put_Line( "Dir String =" & Dir_Str );
> >
> >
> > These show:
> >
> > Dir Name   =J:/QAReview
> > Dir String =l¦d?<+d?iew/
> >
> > The first eight bytes of the answer are getting clobbered by something
> > somewhere.  IDK how.
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com