/root/freeorion/src/freeorion-build/universe/Universe.cpp: In function 'void {anonymous}::SetSameSystemPlanetsVisible(const ObjectMap&)':
/root/freeorion/src/freeorion-build/universe/Universe.cpp:1804:26: error: declaration of 'const ObjectMap& objects' shadows a parameter
/root/freeorion/src/freeorion-build/universe/Universe.cpp: In function 'void {anonymous}::PropegateVisibilityToContainerObjects(const ObjectMap&, Universe::EmpireObjectVisibilityMap&)':
/root/freeorion/src/freeorion-build/universe/Universe.cpp:1832:19: warning: unused variable 'universe' [-Wunused-variable]
/root/freeorion/src/freeorion-build/universe/Universe.cpp: At global scope:
/root/freeorion/src/freeorion-build/universe/Universe.cpp:47:10: warning: '{anonymous}::temp_bool' defined but not used [-Wunused-variable]
make[2]: *** [CMakeFiles/core_static.dir/universe/Universe.cpp.o] Error 1
make[1]: *** [CMakeFiles/core_static.dir/all] Error 2
make: *** [all] Error 2
Universe.cpp:1804:26: error: declaration of 'const ObjectMap
Moderator: Oberlus
Universe.cpp:1804:26: error: declaration of 'const ObjectMap
SVN Rev 5627 currently fails to compile with gcc:
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Universe.cpp:1804:26: error: declaration of 'const Objec
Should be fixed in SVN.
Re: Universe.cpp:1804:26: error: declaration of 'const Objec
Confirmend!Geoff the Medio wrote:Should be fixed in SVN.
Thanks!