From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7973f5b14b2860c9,start X-Google-Attributes: gid103376,public From: rh@signal.dera.gov.uk (Roger Hoyle) Subject: Compiling with Gnat Date: 1999/01/20 Message-ID: #1/1 X-Deja-AN: 434814153 Organization: DERA Newsgroups: comp.lang.ada Date: 1999-01-20T00:00:00+00:00 List-Id: 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