comp.lang.ada
 help / color / mirror / Atom feed
* Compiling with Gnat
@ 1999-01-20  0:00 Roger Hoyle
  1999-01-20  0:00 ` David C. Hoos, Sr.
  1999-01-21  0:00 ` dewar
  0 siblings, 2 replies; 7+ messages in thread
From: Roger Hoyle @ 1999-01-20  0:00 UTC (permalink / raw)



I'm compiling a large (0.7 M lines) application on a sparc using
GNATMAKE 3.10p

The application was originally written on an AIX system so I was expecting
a few problems. The problem I have at the moment is that one of the
specification files won't compile - it gives the following error:

use clause not allowed in predefined spec

The line in the code is :

use Interfaces.C;

and it makes no difference where I put it.

Is this constraint unique to Gnat, and is it permanent, or is there a switch
or equivalent which will allow the use of 'use'. 

Are there any workarounds better than putting appropriate references before
every variable. Would that work?

Any help greatly appreciated.

cheers

Roger.

---------------------------------------------------------------------------
Roger Hoyle                                           rh@signal.dera.gov.uk
Parallel and Distributed Simulation                 Tel: +44 (0)1684 896696
E211, DERA Malvern, WR14 3PS, England               Fax: +44 (0)1684 894389




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

end of thread, other threads:[~1999-01-21  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-20  0:00 Compiling with Gnat Roger Hoyle
1999-01-20  0:00 ` David C. Hoos, Sr.
1999-01-21  0:00   ` Roger Hoyle
1999-01-21  0:00     ` robert_dewar
1999-01-21  0:00     ` rdt
1999-01-21  0:00     ` David C. Hoos, Sr.
1999-01-21  0:00 ` dewar

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