Compile error v0,4,5+ build 2015-12-11.0086924

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
jbergmann
Space Krill
Posts: 3
Joined: Tue Oct 13, 2015 7:16 pm

Compile error v0,4,5+ build 2015-12-11.0086924

#1 Post by jbergmann »

Building v0.4.5+ build 2015-12-11.0086924 gave me the follow error on a Fedora 23 64bit machine...

From https://github.com/freeorion/freeorion
a89f80d..0086924 master -> origin/master

[ 99%] Building CXX object client/human/CMakeFiles/freeorion.dir/__/__/UI/TechTreeWnd.cpp.o
[100%] Building CXX object client/human/CMakeFiles/freeorion.dir/__/__/UI/TextBrowseWnd.cpp.o
In file included from /home/jbergmann/freeorion/UI/TechTreeWnd.cpp:1:0:
/home/jbergmann/freeorion/UI/TechTreeWnd.h: In constructor ‘TechTreeWnd::TechTreeWnd(GG::X, GG::Y)’:
/home/jbergmann/freeorion/UI/TechTreeWnd.h:80:30: warning: ‘TechTreeWnd::m_enc_detail_panel’ will be initialized after [-Wreorder]
EncyclopediaDetailPanel* m_enc_detail_panel;
^
/home/jbergmann/freeorion/UI/TechTreeWnd.h:79:23: warning: ‘TechTreeWnd::TechTreeControls* TechTreeWnd::m_tech_tree_controls’ [-Wreorder]
TechTreeControls* m_tech_tree_controls;
^
/home/jbergmann/freeorion/UI/TechTreeWnd.cpp:1624:1: warning: when initialized here [-Wreorder]
TechTreeWnd::TechTreeWnd(GG::X w, GG::Y h) :
^
/home/jbergmann/freeorion/UI/TechTreeWnd.cpp: At global scope:
/home/jbergmann/freeorion/UI/TechTreeWnd.cpp:40:10: warning: ‘{anonymous}::temp_bool’ defined but not used [-Wunused-variable]
bool temp_bool = RegisterOptions(&AddOptions);
^
/home/jbergmann/freeorion/UI/DesignWnd.cpp: In function ‘float {anonymous}::GetMainStat(const PartType*)’:
/home/jbergmann/freeorion/UI/DesignWnd.cpp:91:18: error: ‘PC_FIGHTER_BAY’ was not declared in this scope
case PC_FIGHTER_BAY:
^
/home/jbergmann/freeorion/UI/DesignWnd.cpp:92:18: error: ‘PC_FIGHTER_WEAPON’ was not declared in this scope
case PC_FIGHTER_WEAPON:
^
/home/jbergmann/freeorion/UI/DesignWnd.cpp: In function ‘bool LocationASubsumesLocationB(const Condition::ConditionBase*, const Condition::ConditionBase*)’:
/home/jbergmann/freeorion/UI/DesignWnd.cpp:549:31: warning: unused variable ‘ref_part_all’ [-Wunused-variable]
if (const Condition::All* ref_part_all = boost::dynamic_pointer_cast<const Condition::All>(ref_part_loc))
^
/home/jbergmann/freeorion/UI/DesignWnd.cpp: In member function ‘virtual void BasesListBox::ChildrenDraggedAway(const std::vector<GG::Wnd*>&, const GG::Wnd*)’:
/home/jbergmann/freeorion/UI/DesignWnd.cpp:1470:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
if (!wnds.size() == 1)
^
client/human/CMakeFiles/freeorion.dir/build.make:614: recipe for target 'client/human/CMakeFiles/freeorion.dir/__/__/UI/DesignWnd.cpp.o' failed
make[2]: *** [client/human/CMakeFiles/freeorion.dir/__/__/UI/DesignWnd.cpp.o] Error 1
CMakeFiles/Makefile2:454: recipe for target 'client/human/CMakeFiles/freeorion.dir/all' failed
make[1]: *** [client/human/CMakeFiles/freeorion.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

User avatar
Vezzra
Release Manager, Design
Posts: 6095
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Compile error v0,4,5+ build 2015-12-11.0086924

#2 Post by Vezzra »

Should be fixed now by f6f1bec.

Post Reply