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

Fix field ordering warnings from clang #627

merged 1 commit into from Jan 23, 2015


Copy link

pwaller commented Jan 23, 2015

Without this change, clang emits these compile time warnings with -Wall turned on.

/home/pwaller/.local/src/CorsixTH/CorsixTH/Src/th_movie.cpp:305:5: warning: field 'iCount' will be initialized after field 'm_pFirstPacket' [-Wreorder]
/home/pwaller/.local/src/CorsixTH/CorsixTH/Src/th_movie.cpp:409:5: warning: field 'm_pVideoThread' will be initialized after field 'm_pAudioPacket' [-Wreorder]
2 warnings generated.
TheCycoONE added a commit that referenced this pull request Jan 23, 2015
Fix field ordering warnings from clang
@TheCycoONE TheCycoONE merged commit d613354 into CorsixTH:master Jan 23, 2015
1 check passed
1 check passed
continuous-integration/travis-ci The Travis CI build passed
@pwaller pwaller deleted the pwaller:fix-ordering-complaints branch Jan 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.