Re: Return value of malloc(0)



Hi All,
I'm trying to port my compiler from Linux to freeBSD. It looked like a
simple job up to the point I ran my flex code through FLEX on freeBSD. When
GCC processes lex.yy.c I get a complaint about an illegal numeric constant
in yy_get_next_buffer, which is all FLEX generated (or prewritten) code. The
thing compiler just fine under Linux. Any ideas?
Cheers,
Randy Hyde

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Return value of malloc(0)
    ... I'm trying to port my compiler from Linux to freeBSD. ... simple job up to the point I ran my flex code through FLEX on freeBSD. ...
    (freebsd-hackers)
  • About Bison and Flex
    ... I'm a new user of FreeBSD and I want to know if the Bison parser generator ... and Flex for Linux is available here. ...
    (freebsd-questions)
  • Re: Return value of malloc(0)
    ... I'm trying to port my compiler from Linux to freeBSD. ... simple job up to the point I ran my flex code through FLEX on freeBSD. ...
    (freebsd-hackers)
  • FLEX, was Re: Return value of malloc(0)
    ... Linux has a slightly newer version of GCC, ... Linux for years without a problem (i.e., older versions of GCC). ... BTW, if anyone is intrested in the full FLEX source, it's part of the HLA ... Linux (it compiles successfully. ...
    (freebsd-hackers)