Author Topic: [Fixed] widget_invert branch won't build  (Read 990 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
[Fixed] widget_invert branch won't build
« on: 15 April 2011, 00:34:32 »
I'm currently having this build error on the widget_invert branch:
Code: [Select]
[ 33%] Building CXX object source/game/CMakeFiles/glestadv.dir/test_pane.cpp.o
[ 34%] In file included from /home/tomreyn/SCM/glestae/source/game/menu/main_menu.h:18:0,
                 from /home/tomreyn/SCM/glestae/source/game/test_pane.cpp:13:
/home/tomreyn/SCM/glestae/source/game/world/world.h:172:6: error: declaration of 'Glest::Sim::Map Glest::Sim::World::map'
/usr/include/c++/4.5/bits/stl_map.h:87:5: error: changes meaning of 'map' from 'class std::map<int, std::basic_string<char> >'
« Last Edit: 15 April 2011, 14:52:53 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: widget_invert branch won't build
« Reply #1 on: 15 April 2011, 06:32:11 »
I'm currently having this build error on the widget_invert branch:
Code: [Select]
[ 33%] Building CXX object source/game/CMakeFiles/glestadv.dir/test_pane.cpp.o
[ 34%] In file included from /home/tomreyn/SCM/glestae/source/game/menu/main_menu.h:18:0,
                 from /home/tomreyn/SCM/glestae/source/game/test_pane.cpp:13:
/home/tomreyn/SCM/glestae/source/game/world/world.h:172:6: error: declaration of 'Glest::Sim::Map Glest::Sim::World::map'
/usr/include/c++/4.5/bits/stl_map.h:87:5: error: changes meaning of 'map' from 'class std::map<int, std::basic_string<char> >'

Thanks, there was another nastier one after that too, I thought I could just erase from a map<> and get back an iterator to the next element, like with a vector<>. This is not the case, but I didn't know that because someone in Redmond thought that made sense too... Ooops.

btw, widget_invert is merged to master now.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

 

anything