This is the mail archive of the
mailing list for the GCC project.
Re: (f)lex & poisoned malloc / free in system.h
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: (f)lex & poisoned malloc / free in system.h
- From: Michael Meeks <michael at ximian dot com>
- Date: Fri, 4 May 2001 11:08:56 -0400 (EDT)
- cc: gcc at gcc dot gnu dot org
On Thu, 3 May 2001, Kaveh R. Ghazi wrote:
> I don't know how to override the use of malloc in (f)lex, so if you
> find one let me know.
It appears not to be possible to me, even with flex, and
particularly not in a manner portable to other lexers [ if this is this an
> Barring that if flex defines some magic macro (FLEX_SCANNER?) then we
> could bypass the poison in system.h when it sees that defined.
Yes, indeed - this would work well for flex, does a gcc
compilation mandate flex ?
email@example.com <><, Pseudo Engineer, itinerant idiot