This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA:] Take 2 (was: Re: RFC: --enable-checking=valgrind.)
- From: Andreas Jaeger <aj at suse dot de>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: Richard Henderson <rth at redhat dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 19 Nov 2002 16:30:57 +0100
- Subject: Re: [RFA:] Take 2 (was: Re: RFC: --enable-checking=valgrind.)
- References: <Pine.BSF.4.44.0211190730320.14863-100000@dair.pair.com>
Hans-Peter Nilsson <hp@bitrange.com> writes:
> On Tue, 19 Nov 2002, Andreas Jaeger wrote:
>
>> With valgrind from CVS, there's one problem with your patch:
>>
>> /cvs/gcc/gcc/cppfiles.c: In function `read_include_file':
>> /cvs/gcc/gcc/cppfiles.c:428: warning: implicit declaration of function `VALGRIND_DISCARD'
>
> Oh my, an API change. I use 1.0.4 as you might guess. I guess
I used the latest CVS.
> that's easily autoconf:ed for, if you please.
Can you do that as part of your patch - if not, I'll try to do it next
weekend?
Just checking for <memcheck.h> and including it if it exists should be
all that's needed,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj