Re: [Rd] compile fails with x86_64-alpine-linux-uclibc-gcc

2012-08-13 Thread Simon Urbanek
On Aug 12, 2012, at 11:45 PM, nobody wrote: > hello, > > i am trying to build R on alpine/gentoo with uclibc and it fails with the > following > error msg: > > connections.c: In function 'Rconn_fgetc': > connections.c:3184:11: error: expected identifier before '(' token > connections.c:3186:15

Re: [Rd] compile fails with x86_64-alpine-linux-uclibc-gcc

2012-08-13 Thread Simon Urbanek
On Aug 13, 2012, at 2:22 PM, nobody wrote: > On Mon, Aug 13, 2012 at 10:49:26AM -0400, Simon Urbanek wrote: >> I suspect that your runtime/libc is defining fgetc as a macro which breaks >> any code that uses it as an identifier. Ideally, your runtime should be >> fixed to use a proper function,