Re: [Rd] Calloc : syntax error

2006-04-13 Thread Prof Brian Ripley
On Thu, 13 Apr 2006, Franck Arnaud wrote: > Hi, > I have issue with Calloc : at the compilation step, gcc tells "error : > syntax error before ')' token". > When I use the classical C calloc... free, everything's fine. > Here's the part of code : > a = (double*) Calloc(*n,sizeof(double)); > > when

Re: [Rd] Calloc : syntax error

2006-04-13 Thread Martin Maechler
> "Franck" == Franck Arnaud <[EMAIL PROTECTED]> > on Thu, 13 Apr 2006 17:17:14 +0200 writes: Franck> Hi, I have issue with Calloc : at the compilation Franck> step, gcc tells "error : syntax error before ')' Franck> token". When I use the classical C calloc... free, Fr

[Rd] Calloc : syntax error

2006-04-13 Thread Franck Arnaud
Hi, I have issue with Calloc : at the compilation step, gcc tells "error : syntax error before ')' token". When I use the classical C calloc... free, everything's fine. Here's the part of code : a = (double*) Calloc(*n,sizeof(double)); when i remove this line or replace it with the calloc, it's ok