[R-pkg-devel] [EXTERNAL] Re: Warning: a function declaration without a prototype is deprecated in all versions of C
Sameh Abdulah
@@meh@@bdu|@h @end|ng |rom k@u@t@edu@@@
Tue Sep 26 10:22:59 CEST 2023
Thanks for replying!
The main problem that this warning from a C library that I am relying on, I have no control to fix the warning there. So, I am still getting this warning from R, when building my package.
Best,
--Sameh
From: R-package-devel <r-package-devel-bounces using r-project.org> on behalf of Jeff Newmiller via R-package-devel <r-package-devel using r-project.org>
Date: Tuesday, September 26, 2023 at 11:19 AM
To: r-package-devel using r-project.org <r-package-devel using r-project.org>
Subject: [EXTERNAL] Re: [R-pkg-devel] Warning: a function declaration without a prototype is deprecated in all versions of C
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.
______________________________________________
R-package-devel using r-project.org mailing list
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-package-devel__;!!Nmw4Hv0!yyvWt-qHY4RQENDvneARJTJbYchLTruMwyEmREYaEtV52oUiLbgVqWM1wxJW-ijKGJeNgHq1HWtnHCQ1_CqTIRN9gfJfWX3c1A7nVQ$<https://urldefense.com/v3/__https:/stat.ethz.ch/mailman/listinfo/r-package-devel__;!!Nmw4Hv0!yyvWt-qHY4RQENDvneARJTJbYchLTruMwyEmREYaEtV52oUiLbgVqWM1wxJW-ijKGJeNgHq1HWtnHCQ1_CqTIRN9gfJfWX3c1A7nVQ$>
--
This message and its contents, including attachments are intended solely
for the original recipient. If you are not the intended recipient or have
received this message in error, please notify me immediately and delete
this message from your computer system. Any unauthorized use or
distribution is prohibited. Please consider the environment before printing
this email.
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list