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: (f)lex & poisoned malloc / free in system.h



Hi Kaveh,

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
issue ].

> 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 ?

        Regards,
  
                Michael.

-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot


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