Thread (7 messages) 7 messages, 3 authors, 2016-06-15

Re: Issue with compiling git 1.8.4 under uclibc with gcc 4.6.3

flat view

From: Jeff King <hidden>
Date: 2016-06-15 22:58:31

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help