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,99f33f51845a7793 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-03 05:19:18 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!dispose.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!zap!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: 'withing' problem Date: 03 Nov 2001 08:38:24 +0000 Organization: Pushface Message-ID: References: <3be27344$0$227$ed9e5944@reading.news.pipex.net> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 X-Trace: news.demon.co.uk 1004792277 nnrp-02:29965 NO-IDENT pogner.demon.co.uk:158.152.70.98 X-Complaints-To: abuse@demon.net NNTP-Posting-Date: 3 Nov 2001 08:38:24 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:15732 Date: 2001-11-03T08:38:24+00:00 List-Id: "David Crocker" writes: > We have a tool that generates (currently) C++ or Java code from > precise specifications and we would very much like to generate Ada95 > as well so we can better target safety-critical applications. But > because our tool encourages an object-oriented style, any attempt at > code geenration in Ada usually falls foul of the withing-problem > very quickly (we can't even compile the runtime library without > hitting the problem). We have exactly this problem! (though I'm surprised at your difficulty compiling the runtime library? which library is that?) > I am aware of the woraround described at > http://home.bluemarble.net/~jvolan/WithingProblem/FAQ.html but I > doubt this would be acceptable in a safety-critical application. I guess you need to talk to your safety guys about this one. Of course, it must depend on the criticality. If your system is SIL4 (UK speak) you'll have a raft of tool chain problems if you go for automatically generating code, won't you? -- Simon Wright Work Email: simon.j.wright@amsjv.com Alenia Marconi Systems Voice: +44(0)23-9270-1778 Integrated Systems Division FAX: +44(0)23-9270-1800