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
Compilation Warnings on ubuntu 10.10 #9
Comments
This patch file generated by the output of git diff solve all the warning .. except for this. diff --git a/src/Battlescape/AggroBAIState.cpp b/src/Battlescape/AggroBAIState.cpp
diff --git a/src/Ufopaedia/Ufopaedia.cpp b/src/Ufopaedia/Ufopaedia.cpp
|
Probably, you are aware of this, but this a the compilation warning on a ubuntu 10.10 system.
Battlescape/AggroBAIState.cpp: In member function ‘virtual void OpenXcom::AggroBAIState::think(OpenXcom::BattleAction*)’:
Battlescape/AggroBAIState.cpp:113: warning: unused variable ‘tu’
Savegame/SavedBattleGame.cpp: In member function ‘void OpenXcom::SavedBattleGame::load(const YAML::Node&)’:
Savegame/SavedBattleGame.cpp:114: warning: operation on ‘dp’ may be undefined
Ufopaedia/ArticleStateItem.cpp:171: warning: enumeration value ‘BT_NONE’ not handled in switch
Ufopaedia/ArticleStateItem.cpp:171: warning: enumeration value ‘BT_MELEE’ not handled in switch
Ufopaedia/ArticleStateItem.cpp:171: warning: enumeration value ‘BT_PROXIMITYGRENADE’ not handled in switch
Ufopaedia/ArticleStateItem.cpp:171: warning: enumeration value ‘BT_MEDIKIT’ not handled in switch
Ufopaedia/ArticleStateItem.cpp:171: warning: enumeration value ‘BT_SCANNER’ not handled in switch
Ufopaedia/Ufopaedia.cpp:72: warning: enumeration value ‘UFOPAEDIA_TYPE_UNKNOWN’ not handled in switch
Ufopaedia/Ufopaedia.cpp:72: warning: enumeration value ‘UFOPAEDIA_TYPE_HWP’ not handled in switch
Ufopaedia/Ufopaedia.cpp:72: warning: enumeration value ‘UFOPAEDIA_TYPE_ARMOR’ not handled in switch
I am running the new version, the make command finish without error.
regards
The text was updated successfully, but these errors were encountered: