Displaying 4 results from an estimated 4 matches for "bdsmatrix_stub".
2017 Dec 29
3
winbuilder warning message wrt function pointers
...???????????? int nfrail,?? double *y) {
??? static void (*fun)() = NULL;
??? if (fun==NULL)
??? fun = (void (*)) R_GetCCallable("bdsmatrix", "bdsmatrix_prod4");
??? fun(nrow, nblock, bsize, bmat, rmat, nfrail, y);
??? }
..
The winbuilder run is flagging all of these with
bdsmatrix_stub.h:22:6: warning: ISO C forbids assignment between function pointer and
'void *' [-Wpedantic]
? fun = (void (*)) R_GetCCallable("bdsmatrix", "bdsmatrix_prod4");
Ignore?? Or should these lines have been written in a different way?
Terry T.
2017 Dec 29
1
winbuilder warning message wrt function pointers
...if (fun==NULL)
>> fun = (void (*)) R_GetCCallable("bdsmatrix", "bdsmatrix_prod4");
>> fun(nrow, nblock, bsize, bmat, rmat, nfrail, y);
>> }
>>
>> ..
>>
>> The winbuilder run is flagging all of these with
>>
>> bdsmatrix_stub.h:22:6: warning: ISO C forbids assignment between function
>> pointer and 'void *' [-Wpedantic]
>> fun = (void (*)) R_GetCCallable("bdsmatrix", "bdsmatrix_prod4");
>>
>> Ignore? Or should these lines have been written in a different way?
>&g...
2017 Dec 29
0
winbuilder warning message wrt function pointers
...static void (*fun)() = NULL;
> if (fun==NULL)
> fun = (void (*)) R_GetCCallable("bdsmatrix", "bdsmatrix_prod4");
> fun(nrow, nblock, bsize, bmat, rmat, nfrail, y);
> }
>
> ..
>
> The winbuilder run is flagging all of these with
>
> bdsmatrix_stub.h:22:6: warning: ISO C forbids assignment between function
> pointer and 'void *' [-Wpedantic]
> fun = (void (*)) R_GetCCallable("bdsmatrix", "bdsmatrix_prod4");
>
> Ignore? Or should these lines have been written in a different way?
>
> Terry T.
>...
2017 Dec 29
0
winbuilder warning message wrt function pointers
...fun = (void (*)) R_GetCCallable("bdsmatrix", "bdsmatrix_prod4");
>>> fun(nrow, nblock, bsize, bmat, rmat, nfrail, y);
>>> }
>>>
>>> ..
>>>
>>> The winbuilder run is flagging all of these with
>>>
>>> bdsmatrix_stub.h:22:6: warning: ISO C forbids assignment between
>>> function pointer and 'void *' [-Wpedantic]
>>> fun = (void (*)) R_GetCCallable("bdsmatrix", "bdsmatrix_prod4");
>>>
>>> Ignore? Or should these lines have been written in a diffe...