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

Conversation

pwaller
Copy link
Contributor

@pwaller 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
Fix field ordering warnings from clang
@TheCycoONE TheCycoONE merged commit d613354 into CorsixTH:master Jan 23, 2015
@pwaller pwaller deleted the fix-ordering-complaints branch January 23, 2015 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants