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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1bfef9ee46a994c7,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!not-for-mail From: bdbryant@mail.utexas.edu (Bobby D. Bryant) Newsgroups: comp.lang.ada Subject: Pragma Debug in GCC-Ada ? Date: Wed, 13 Jul 2005 00:40:03 +0000 (UTC) Organization: dis- Message-ID: Reply-To: bdbryant@mail.utexas.edu NNTP-Posting-Host: dial-b-128-83-219-86.telesys.its.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: geraldo.cc.utexas.edu 1121215203 8596 128.83.219.86 (13 Jul 2005 00:40:03 GMT) X-Complaints-To: abuse@utexas.edu NNTP-Posting-Date: Wed, 13 Jul 2005 00:40:03 +0000 (UTC) X-Newsreader: knews 1.0b.1 Xref: g2news1.google.com comp.lang.ada:12035 Date: 2005-07-13T00:40:03+00:00 List-Id: Are the precompiled Ada library units supposed to be compiled with -gnata ? My naive assumption is "yes", so that assertions will be enforced, but in recent versions of GCC-based GNAT it also turns on an annoying - pragma Debug (Put_Line ("N =" & N'Img)); in the definition of 'Put' in a-tifiio.adb (Ada.Text_IO.Fixed_IO). Surely that isn't the intended behavior? But is the proper fix to remove that line from the source, or to compile without -gnata ? Background: This is seen in GNAT 3.4.1 as built for Gentoo Linux by the gnat-3.41.ebuild. It may have been present in earlier versions as well; I don't remember when I first saw it. -- Bobby Bryant Austin, Texas