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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,78447032bdbeb343 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!peer1.news.newnet.co.uk!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Proposal: pragma Assumption Date: Mon, 26 May 2008 19:21:35 +0100 Organization: Pushface Message-ID: References: <30917be5-1446-417c-8a4e-18b2f9a1f420@b1g2000hsg.googlegroups.com> <9620f961-8b81-45b7-8ab1-db6db5e381a5@c65g2000hsa.googlegroups.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1211826095 906 62.49.19.209 (26 May 2008 18:21:35 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Mon, 26 May 2008 18:21:35 +0000 (UTC) Cancel-Lock: sha1:wWD2YYO6DI/xYHCe4D0LFE/RKr0= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (darwin) Xref: g2news1.google.com comp.lang.ada:379 Date: 2008-05-26T19:21:35+01:00 List-Id: Santiago Urue�a writes: >> I've been using pragma Fixme; for this -- OK, won't fail in production >> (unless you use GNAT & -gnatwe, treat warnings as errors, or your >> compiler's equivalent). >> > Interesting, that's very close to this type of assertions (except > that it doesn't document much, and it won't fail if any test tries > to exercise the unimplemented code). Which compiler has that pragma? It's a pragma that I made up and that the compiler ignores with a warning .. while refactoring some code recently, I found myself using pragma I_Dont_Believe_It (see British TV program "One Foot In The Grave").