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

Hint : In the header file R.h, there's a line :
/* for PROBLEM ... Calloc, Realloc, Free, Memcpy, F77_xxxx */
is it related ?

Does anyone know ?
Thanks

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to