help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

flex and more namespace clashes


From: Bruce Lilly
Subject: flex and more namespace clashes
Date: Sat, 08 Mar 2003 00:03:57 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130

If a prefix of m, c, or re is used, flex generates namespace
clashes with the standard library functions malloc, calloc,
or realloc.  The problem is "yyalloc", which is renamed to
malloc, calloc, or realloc.  If it were yy_alloc, there
wouldn't be a clash; better still if the standard malloc,
realloc, and free were used, the problem wouldn't arise.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]