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

a function declaration without a prototype is deprecated in all versions of C #805

Open
dawesc opened this issue Nov 21, 2024 · 0 comments

Comments

@dawesc
Copy link

dawesc commented Nov 21, 2024

Problem:

We cannot compile the SDK on modern versions of clang, this will become a problem on gcc as well eventually. This has been obsolete since 1989 according to a post on Stack Overflow

Solution:

Update the SDK so the methods in error.h have void in the prototype.

Out of scope:

Is there anything the solution will intentionally NOT address? No

dawesc added a commit to EFTlab/aws-encryption-sdk-c that referenced this issue Nov 21, 2024
The latest compilers require all C functions to have a prototype to compile;
adds the void prototype to those functions requiring this
dawesc added a commit to EFTlab/aws-encryption-sdk-c that referenced this issue Nov 26, 2024
The latest compilers require all C functions to have a prototype to compile,
adds the void prototype to those functions requiring this
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

1 participant