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,992a5b99b67c1d3a,start X-Google-Attributes: gid103376,public From: John Howard Subject: Re: Can't use my ".ada" files with Gnat 3.09? Date: 1997/07/18 Message-ID: #1/1 X-Deja-AN: 257533814 References: To: flower@ms31.sp.trw.com Organization: SkyNET Corporation Newsgroups: comp.lang.ada Date: 1997-07-18T00:00:00+00:00 List-Id: > gcc -c -g temp.ada > temp.ada:4:11: warning: file name does not match unit name, should be > "temp.adb" Simply rename temp.ada to temp.adb and type "gnatmake temp". GNAT defaults expect an extension "ads" for specification and "adb" for body. You have two options: either rename your programs to match the defaults, or use a compiler directive to change the defaults. GNAT has documentation. Additional documentation is found with the distribution of gcc. -- John Howard -- Team Ada Team OS/2 --