aws / aws/aws-encryption-sdk-c
a function declaration without a prototype is deprecated in all versions of C
- Dominant language
- C
- Stars
- 63
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
### 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](https://stackoverflow.com/questions/75943541/a-function-declaration-without-a-prototype-is-deprecated-in-all-versions-of-c)
### 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
Contributor guide
Research direction
Start in error.h and review the SDK method declarations that lack a prototype. Update those declarations to include void, then compile the SDK with modern clang to verify the deprecation errors are resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100