On 18-Apr-06, at 8:15 AM, Ben Hinkle wrote: There's a bug in parse_btype. I noticed it, too, when I tried to compile fltk (I think that was it). I worked around it by adding a check after the default: label in parse_btype to goto the_end if type_found. Otherwise it keeps chewing up identifiers that are also typedefs. Hmm, That gets past the first problem but then breaks compilation in /usr/include/bits/types.h, at __STD_TYPE __DEV_T_TYPE __dev_t; But then maybe my fix wasn't exactly the same as your workaround. Starting from version 0.9.22 (Gentoo ebuild), at line 6639 (!) of tcc.c, in parse_btype() after the default: label, I changed if(typespec_found) to if(type_found||typespec_found) I haven't made any attempt to understand the context of this. --Toby
|
_______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
