comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Can't use my ".ada" files with Gnat 3.09?
Date: 1997/07/19
Date: 1997-07-19T00:00:00+00:00	[thread overview]
Message-ID: <dewar.869338932@merv> (raw)
In-Reply-To: wn90z5z6u0.fsf@ms31.sp.trw.com


flowers said

<<Hi.. I just started playing around with GNAT again (3.09 Sparc/Solaris)
after finishing up some work with GHS Ada'83, and thought that I would
try some of my Ada'83 code w/ Gnat.. Anyway, I'm getting an error that
I don't understand when trying to compile any file that ends with ".ada"
instead of ".adb".. I looked at the code for Gnat, but wasn't able to
determine what is was complaining about.. Any ideas? >>

I have an amazing suggestion: read the documentation! It surpsises me
how people expect to use complex systems these days without reading
the documentation. A compiler is not a word processor!

Of course the error message also clearly told you how to solve the
problem (rename your file xxx.adb).

If you do read the documentation, you will find out that GNAT either
requires that you use the default file name conventions, or that
you go throughy the necessary steps to use non-default names, I
suggest the former, especially if you don't feel like reading the
documentation!

If you do want to explore the code, look at the fname and uname routines,
these make the situation pretty clear!





  parent reply	other threads:[~1997-07-19  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <wn90z5z6u0.fsf@ms31.sp.trw.com>
1997-07-18  0:00 ` Can't use my ".ada" files with Gnat 3.09? John Howard
1997-07-19  0:00 ` Robert Dewar [this message]
     [not found]   ` <wnu3ho10fs.fsf@ms31.sp.trw.com>
1997-07-22  0:00     ` Gautier
1997-07-22  0:00     ` Robert Dewar
replies disabled

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