-
Notifications
You must be signed in to change notification settings - Fork 74
More compiler warns #248
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
Merged
Merged
More compiler warns #248
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
586084d
sdl redefines these
Un1q32 fe850a3
enable -Wall
Un1q32 0f14e6c
stuff
Un1q32 07c8c60
actually just disable warns for raknet this is insane
Un1q32 8377e0b
unused thing
Un1q32 5a270fd
sign compare
Un1q32 e9c5e78
this was missed in the last warn pr
Un1q32 679f620
misleading indentation
Un1q32 dde3d6e
sign compare
Un1q32 deb362f
gcc is annoying
Un1q32 326e78c
parenthesis
Un1q32 5dabb62
msvc thing
Un1q32 839056a
fix
Un1q32 4ed8402
sign compare
Un1q32 07de4bc
msvc
Un1q32 e1c3831
unused
Un1q32 b4bad7a
parenthesis
Un1q32 7b50d12
unused
Un1q32 139a2fc
sign compare
Un1q32 3a8f40f
dont break aliasing rules
Un1q32 30f776a
sign compare
Un1q32 00a420f
overlaping
Un1q32 64bbac0
sign compare
Un1q32 225d22a
sign compare
Un1q32 4ccc7fb
sign compare
Un1q32 6dd4434
sign compare
Un1q32 434cc43
sign compare
Un1q32 ecee03e
sign compare
Un1q32 7232093
sign compare
Un1q32 95ff178
sign compare
Un1q32 5eb047b
sign compare
Un1q32 13645ae
sign compare
Un1q32 aa3d271
sign compare, this variable should prolly be unsigned already but wha…
Un1q32 e2dda28
sign compare
Un1q32 64faa63
initialize
Un1q32 7ee393c
check error suggested by green matt
Un1q32 e6b25ca
fix
Un1q32 47a90a8
sign compare
Un1q32 a90e9eb
fix
Un1q32 d32af71
fix
Un1q32 c9ba16e
sign compare
Un1q32 633572a
sign compare
Un1q32 75a0105
sign compare
Un1q32 d350845
sign compare
Un1q32 02e267a
sign compare
Un1q32 7cacb1e
sign compare
Un1q32 9bd852b
sign compare
Un1q32 48a7554
misleading indentation
Un1q32 d1ef774
parenthesis
Un1q32 9f82ca2
parenthesis
Un1q32 0416455
init
Un1q32 c217104
actually print error
Un1q32 d58dc4f
replace memcpy with union
Un1q32 5c1e340
fix
Un1q32 9e13955
sign compare
Un1q32 73211fe
sign compare
Un1q32 f0c58a4
aliasing
Un1q32 a7f37c6
fix
Un1q32 c83eaf3
unused, and handle all cases
Un1q32 826d390
sign compare
Un1q32 fd6f7dd
fix
Un1q32 a58186e
sign compare
Un1q32 a00d5f9
silence warns with pragmas
Un1q32 b0ac17f
sign compare
Un1q32 ed73509
remove unused stuff
Un1q32 bbe7d19
unused var
Un1q32 31be67d
enable -Werror for wasm in the workflow, not always in the build script
Un1q32 5d33c21
comments explaining unused variable things
Un1q32 4f6c901
readd thing
Un1q32 96f69b7
rename macro
Un1q32 01b2481
fputs to LOG_E
Un1q32 f75098c
comment out instead of removing
Un1q32 514e921
comment out instead of removing
Un1q32 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| #pragma once | ||
|
|
||
| #ifdef __GNUC__ | ||
| #define MC_UNUSED __attribute__((unused)) | ||
| #else | ||
| #define MC_UNUSED | ||
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.