Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCC warning with [-Wmissing-prototypes] build option #51

Closed
jeromecoutant opened this issue Mar 29, 2024 · 2 comments
Closed

GCC warning with [-Wmissing-prototypes] build option #51

jeromecoutant opened this issue Mar 29, 2024 · 2 comments
Assignees

Comments

@jeromecoutant
Copy link

Hi

In our project, we enable this [-Wmissing-prototypes] build option in GCC.

This makes many warnings:

xxx/source/gcc/retarget_syscalls.c:75:5: warning: no previous prototype for '_open' [-Wmissing-prototypes]
xxx/source/gcc/retarget_syscalls.c:110:5: warning: no previous prototype for '_close' [-Wmissing-prototypes]
...

@massonal
@fred-r

@VladimirUmek
Copy link
Contributor

Hi Jerome,

thank you for reporting this issue. I'm seeing the warnings as well and will investigate how to provide the missing prototypes.

@VladimirUmek
Copy link
Contributor

Related updates are now merged hence closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants