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

2013-08-26 Thread Andreas Schwab
Lukas Fleischer writes: > On Mon, Aug 26, 2013 at 02:29:12PM -0600, Lance wrote: >> [...] >> >> CC config.o >> >>config.c: In function 'get_next_char': >> >>config.c:220:14: error: expected identifier before '(' token >> >>config.c:220:14: error: expected statement before ')' token >> >>confi

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

2013-08-26 Thread Jeff King
On Mon, Aug 26, 2013 at 10:31:54PM +0200, Lukas Fleischer wrote: > > 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 or

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

2013-08-26 Thread Lukas Fleischer
On Mon, Aug 26, 2013 at 02:29:12PM -0600, Lance wrote: > [...] > >> CC config.o > >>config.c: In function 'get_next_char': > >>config.c:220:14: error: expected identifier before '(' token > >>config.c:220:14: error: expected statement before ')' token > >>config.c:220:14: error: expected statem

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

2013-08-26 Thread Lance
On 8/26/2013 2:18 PM, Lukas Fleischer wrote: On Mon, Aug 26, 2013 at 02:10:43PM -0600, Lance wrote: Up until the latest release, I've been able to compile git for a uclibc based embedded linux. The toolchain I use is from "entware", which is based off of the openwrt toolchain. https://code.goog

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

2013-08-26 Thread Lukas Fleischer
On Mon, Aug 26, 2013 at 02:10:43PM -0600, Lance wrote: > Up until the latest release, I've been able to compile git for a > uclibc based embedded linux. The toolchain I use is from "entware", > which is based off of the openwrt toolchain. > https://code.google.com/p/wl500g-repo/ > > Somewhere betw