This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -fcheck-memory-usage


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]