[R-pkg-devel] Warning: a function declaration without a prototype is deprecated in all versions of C

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Tue Sep 26 10:16:54 CEST 2023


This error arises because you are not declaring the function properly before you call it... likely because you have not included the appropriate header file or because you have typoed the function call.

If you provide a link to your package someone may point you more precisely to your error, but this is a pretty basic C language question rather than an R package question so it isn't technically on topic here.

On September 26, 2023 12:58:25 AM PDT, Sameh Abdulah <sameh.abdulah using kaust.edu.sa> wrote:
>Dear Colleagues,
>
>
>I've encountered a warning in my package that states:
>
>'warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes].'
>
>This warning originates from one of the libraries I depend on, specifically OpenBLAS. So, I have no control to fix it inside OpenBLAS.
>
>I'm not sure how to resolve this issue.
>
>
>Best regards,
>--Sameh"
>
>

-- 
Sent from my phone. Please excuse my brevity.



More information about the R-package-devel mailing list