ok, that was my guess...but it works in C. Calling the shared library in R causes this. Ok, for the moment forget about this...
The point is that I can't allocate in this way
because the compiler says " error: initializer element is not constant".. Do you have a suggestion?Code:static struct Subinterval *pinterval=malloc( sizeof(struct Subinterval*) );