From: bdbryant@mail.utexas.edu (Bobby D. Bryant)
Subject: Pragma Debug in GCC-Ada ?
Date: Wed, 13 Jul 2005 00:40:03 +0000 (UTC)
Date: 2005-07-13T00:40:03+00:00 [thread overview]
Message-ID: <db1nt2$8ck$1@geraldo.cc.utexas.edu> (raw)
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
next reply other threads:[~2005-07-13 0:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-13 0:40 Bobby D. Bryant [this message]
2005-07-13 1:18 ` Pragma Debug in GCC-Ada ? Matthew Heaney
2005-07-13 3:14 ` Bobby D. Bryant
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox