fix warnings introduced by gcc 13 #3428
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes warnings introduced somewhere between gcc 10 and gcc 13 when compiling with
-Wall
. Those warnings are-Warray-bounds
-Waddress
-Warray-parameter
Description
Ideally the skydrop stuff should be refactored to be a little more standalone I assume. However since with the current changes to upcoming the projects will stop to build on modern compilers that change the behavior of
-Wall
and-Warray-bounds
it is probably a good idea to immediately remove the negative array subscript (which was broken due to theCMD_ARGS
PR anyways)PR to
upcoming
because it fixes anupcoming
issue. The visual oddity technically exists inmaster
, but I think it is fine for the next release version and does not require a hotfix. (Also this is not fixing the sprite invisibility issue)Issue(s) that this PR fixes
No issue was assigned to this.
Discord contact info
karathan