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
merged 1 commit into from Jan 23, 2015

Conversation

Projects
None yet
2 participants
@pwaller
Contributor

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]
    iCount(0),
    ^
/home/pwaller/.local/src/CorsixTH/CorsixTH/Src/th_movie.cpp:409:5: warning: field 'm_pVideoThread' will be initialized after field 'm_pAudioPacket' [-Wreorder]
    m_pVideoThread(NULL),
    ^
2 warnings generated.

TheCycoONE added a commit that referenced this pull request Jan 23, 2015

Merge pull request #627 from pwaller/fix-ordering-complaints
Fix field ordering warnings from clang

@TheCycoONE TheCycoONE merged commit d613354 into CorsixTH:master Jan 23, 2015

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

@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