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

2012-08-12 Thread nobody
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: error: expected identifier before '(' token make[3]: *** [conn

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

2012-08-14 Thread nobody
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, but you could probably work around it with > som

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

2012-08-14 Thread nobody
On Tue, Aug 14, 2012 at 01:48:44PM +0200, peter dalgaard wrote: > > Perhaps I'm confused, but how did either of you expect to fix a problem with > fgetc by modifying fgets??? > > -- > Peter Dalgaard, Professor > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederik

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

2012-08-14 Thread nobody
On Tue, Aug 14, 2012 at 10:32:22AM -0400, Simon Urbanek wrote: > > On Aug 14, 2012, at 10:19 AM, nobody wrote: > > > On Tue, Aug 14, 2012 at 01:48:44PM +0200, peter dalgaard wrote: > >> > >> Perhaps I'm confused, but how did either of you expect to fix a