comp.lang.ada
 help / color / mirror / Atom feed
From: "Karen" <karen.nussbaum@blueyonder.co.uk>
Subject: Re: AdaGide (Gnat) Build error
Date: Fri, 28 Feb 2003 23:46:38 GMT
Date: 2003-02-28T23:46:38+00:00	[thread overview]
Message-ID: <yxS7a.10295$JG5.82094299@news-text.cableinet.net> (raw)
In-Reply-To: a909a74f.0302280900.44c0c5e4@posting.google.com

doh!



rename to

read this carefully...


test1.adb


Ithankyou..
"Willy" <tchi_yuan@hotmail.com> wrote in message
news:a909a74f.0302280900.44c0c5e4@posting.google.com...
> It still doesn't work. I changed the file name and the procedure name.
> I'm still getting the same error when I build
>
> -- filename is : test1.ada
>
> -- source code :
>
> with Text_Io;
> use Text_Io;
>
> procedure test1 is
>
>    package Es_Entiers is new Integer_Io ( Integer );
>
>    Num1 : Integer := 1;
>    Num2 : Integer := 2;
>    Num3 : Integer;
> begin
>
>    Num3 := Num1 / Num2;
>    Put("Answer: ");
>    Es_Entiers.Put(Num3);
>
> end test1;
>
>
> -- Error when I build :
>
> Building...
> GNATMAKE 3.15p  (20020523) Copyright 1995-2002 Free Software Foundation,
> Inc.
> End of compilation
> gnatmake: "test1" not found
> Done--error detected.
>
> -- Is there any setting I'm missing ? I'm new to AdaGide.
>
>
> Thanks,
> Willy-
>
>
>
>
>
> Peter Hermann <ica2ph@iris16.csv.ica.uni-stuttgart.de> wrote in message
news:<b3nbbs$ojb$1@news.uni-stuttgart.de>...
> > Willy <tchi_yuan@hotmail.com> wrote:
> > > The file name is test.ada
> > 1.
> > rename your file:  test.adb
> > 2.
> > check for procedure name to be "test" (the same as the file name)
> >
> > now you have fulfilled the conventions of the useful gnat way of naming.
> >
> >
> > longterm advice:
> > never use a procedure with the name "test",
> > better choose names other than test, e.g. test1 etc.
> > because there are operating systems (some unix)
> > with a special meaning of "test"





  reply	other threads:[~2003-02-28 23:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-28  9:31 AdaGide (Gnat) Build error Willy
2003-02-28  9:49 ` Peter Hermann
2003-02-28 17:00   ` Willy
2003-02-28 23:46     ` Karen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-28 18:20 David C. Hoos
2003-03-01  2:38 ` Jeffrey Carter
2003-03-01  3:35   ` David C. Hoos, Sr.
2003-03-01  2:51 ` Steve
replies disabled

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