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 problem > >> with fgetc by modifying fge

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

2012-08-14 Thread Simon Urbanek
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 problem with >> fgetc by modifying fgets??? >> >> -- >> Peter Dalgaard, Professor >> Center for Statistics, Copen

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 Simon Urbanek
Ouch - typo, misread ... Sent from my iPhone On Aug 14, 2012, at 7:48 AM, peter dalgaard wrote: > > On Aug 13, 2012, at 20:22 , 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 >>>

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

2012-08-14 Thread peter dalgaard
On Aug 13, 2012, at 20:22 , 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,

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-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,

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

[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