On Mon, Aug 26, 2013 at 10:31:54PM +0200, Lukas Fleischer wrote:
quoted
I also had to change line 224 to the following
c = (cf->fgetc)(cf);
Once both places were changes, it compiled successfully.
Sounds like a parser bug to me. Should we patch this in Git in order to
make it compile with (broken?) GCC versions?
Hmm. I wonder if fgetc is a macro in uclibc? Just grepping their
stdio.h, it looks like that is a possibility.
I think they are probably wrong to do so (but I'd have to check the
standard). However, the cleaner workaround would probably be to call the
fgetc struct member something else.
-Peff