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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4c019ad9cc913bbe X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-19 02:55:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!128.39.3.168!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: The Dreaded "Missing Subunits" Date: Thu, 19 Sep 2002 09:55:17 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <1b585154.0209121449.ef12609@posting.google.com> <3D819EE7.3A69E5EB@praxis-cs.co.uk> <4519e058.0209160548.461cef27@posting.google.com> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1032429317 26039 129.241.83.82 (19 Sep 2002 09:55:17 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 19 Sep 2002 09:55:17 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:29161 Date: 2002-09-19T09:55:17+00:00 List-Id: On Wed, 18 Sep 2002 20:56:18 GMT, Robert A Duff wrote: > Contrast with Ada, where GNAT wants .ads/.adb, Rational wants > .1.ada/.2.ada, and AdaMagic wants .spc/.bdy. I know GNAT and AdaMagic > have ways of overriding the convention (not sure about Rational), > but you have to go to extra trouble to use a convention different > from what the compiler wants. Wouldn't it be better if all Ada > compilers supported the same file-naming conventions out of the box, > without using nonstandard pragmas Source_File_Name and the like? > > What file-naming convention should I use, if I want to be > portable across all compilers? For C, the answer is easy. > For Ada, it's not. Well first you have to ensure that your source code *IS* portable to any compiler, second it is not rocket-science to make a simple script to rename the files depending on which compiler one has. Of course with nice user-friendly Windows this is less easy because it is so user friendly. But that people get so worked up of simple name conventions sure signals that they need to fill their time with coding ;-) I could need a nice project planner in Ada with GtkAda GUI under GMGPL/GPL/BSD license. Any takers ;-) Preben