This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fcheck-memory-usage
- To: Sascha Ziemann <szi at aibon dot ping dot de>
- Subject: Re: -fcheck-memory-usage
- From: Andrew Morton <andrewm at uow dot edu dot au>
- Date: Wed, 05 Apr 2000 08:34:53 +0000
- CC: gcc at gcc dot gnu dot org
- References: <7upus6nd5x.fsf@olivia.aibon.ping.de>
Sascha Ziemann wrote:
>
> Hi,
>
> I tried to compile my code with the -fcheck-memory-usage, but I get
> endless errors about chkr_set_right:
>
> main.c:69: undefined reference to `chkr_set_right'
>
> Is this function in any lib, or do I have to write such a function? I
> can not find any information about chkr_set_right in the info file of
> GCC.
You have to provide it. This feature was implemented for use by GNU
Checker.
http://www.gnu.org/software/checker/checker.html
For documentation on -fcheck-memory-usage please see
http://gcc.gnu.org/ml/gcc-patches/1999-10n/msg00539.html
For a patch which removes some unnecessary calls to chkr_set_right()
please see
http://gcc.gnu.org/ml/gcc-patches/1999-10n/msg00600.html
[ I _still_ haven't gotten around to resubmitting this patch, but I
haven't forgotten! ]
--
-akpm-
"I am a fan of the headerless one byte packetization delay connection
oriented
protocol known as TDM from an efficiency standpoint" - Steve Hume.