-
Notifications
You must be signed in to change notification settings - Fork 74
Fix compiler warns #239
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
Fix compiler warns #239
Changes from 24 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
1aed621
fix conversion
Un1q32 48b2b74
add parentesis
Un1q32 1eb6b3d
explicitly handle STATUS_SUCCESS in switch
Un1q32 6177e59
explicitly handle all cases in switch
Un1q32 38deafd
explictly handle all cases in switch
Un1q32 e3a52ba
explicitly handle all cases in grass tile switch
Un1q32 303230f
explicitly handle all cases
Un1q32 04c5e36
cast NSInteger before NSLog
Un1q32 52004e6
explicitly handle all cases
Un1q32 9314290
use FLT_{MIN,MAX} instead of INT_{MIN,MAX}
Un1q32 17b8c6e
cast to correct type
Un1q32 53f0198
set type of m_pData to short *
Un1q32 daf109a
change m_pData type from short to int16_t everywhere
Un1q32 fbb8d34
fix buffer allocation
Un1q32 1c72e27
remove pointless arg
Un1q32 168e4aa
fix register warn
Un1q32 bb2a0f9
disable warns for stb_vorbis
Un1q32 a13a1cb
always true warn
Un1q32 6d3b791
fix
Un1q32 a8106e4
nobody gaf :sob:
Un1q32 f7b5d24
remove useless define
Un1q32 6b2cf35
gcc gives a warn in stb_image
Un1q32 67e0f54
use the dedicated option for adding compiler definitions instead of m…
Un1q32 4133b43
more cmake nits
Un1q32 f463812
dont cast
Un1q32 ebccc5b
can i silence the warn by litterally just increasing the size
Un1q32 d94f977
increase size again
Un1q32 9456fb1
Merge remote-tracking branch 'upstream/master' into compiler-wanrs
Un1q32 a983ccf
dont assign float to int
Un1q32 b68115d
format args
Un1q32 6f7b334
remove unused function
Un1q32 2d82476
build vendored SDL2 with C++11
Un1q32 d34a702
allow building for macOS with modern GCC
Un1q32 a0b9f08
disable deprecated declarations warns on macOS too
Un1q32 388a567
fix
Un1q32 d219d13
disable compiler C++ extensions and see if anything breaks
Un1q32 df1cf1c
handle case
Un1q32 c4505d7
enable -Werror for everything except android
Un1q32 4eb8818
Merge remote-tracking branch 'upstream/master' into compiler-wanrs
Un1q32 08d704f
Merge remote-tracking branch 'upstream/master' into compiler-wanrs
Un1q32 fd420bf
Merge remote-tracking branch 'upstream/master' into compiler-wanrs
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
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
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 |
|---|---|---|
|
|
@@ -35,7 +35,7 @@ struct PCMSoundHeader | |
|
|
||
| struct SoundBuffer | ||
| { | ||
| void* m_pData; | ||
| int16_t *m_pData; | ||
| int m_dataSize; | ||
| }; | ||
|
|
||
|
|
||
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
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.