Anonymous | Login | 2024-11-21 14:53 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001278 | VCMI | Other | public | 2013-05-29 07:33 | 2014-05-30 17:43 | ||||
Reporter | o01eg | ||||||||
Assigned To | Ivan | ||||||||
Priority | high | Severity | block | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | AMD64 | OS | Linux | OS Version | Gentoo | ||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001278: Cann't compile vcmi [r3391] | ||||||||
Description | $ LANG="en_US.UTF-8" idle.sh make [ 0%] Building CXX object lib/CMakeFiles/vcmi.dir/CGameState.cpp.o /mnt/another/tmp/vcmi/lib/CGameState.cpp: In member function ‘int CGameState::pickHero(PlayerColor)’: /mnt/another/tmp/vcmi/lib/CGameState.cpp:486:3: error: no matching function for call to ‘random_shuffle(std::vector<HeroTypeID>&, CGameState::pickHero(PlayerColor)::<lambda(size_t)>)’ /mnt/another/tmp/vcmi/lib/CGameState.cpp:486:3: note: candidates are: /usr/include/boost-1_49/boost/range/algorithm/random_shuffle.hpp:57:33: note: const RandomAccessRange& boost::range::random_shuffle(const RandomAccessRange&, Generator&) [with RandomAccessRange = std::vector<HeroTypeID>, Generator = CGameState::pickHero(PlayerColor)::<lambda(size_t)>] /usr/include/boost-1_49/boost/range/algorithm/random_shuffle.hpp:57:33: note: no known conversion for argument 2 from ‘CGameState::pickHero(PlayerColor)::<lambda(size_t)>’ to ‘CGameState::pickHero(PlayerColor)::<lambda(size_t)>&’ /usr/include/boost-1_49/boost/range/algorithm/random_shuffle.hpp:48:27: note: RandomAccessRange& boost::range::random_shuffle(RandomAccessRange&, Generator&) [with RandomAccessRange = std::vector<HeroTypeID>, Generator = CGameState::pickHero(PlayerColor)::<lambda(size_t)>] /usr/include/boost-1_49/boost/range/algorithm/random_shuffle.hpp:48:27: note: no known conversion for argument 2 from ‘CGameState::pickHero(PlayerColor)::<lambda(size_t)>’ to ‘CGameState::pickHero(PlayerColor)::<lambda(size_t)>&’ /usr/include/boost-1_49/boost/range/algorithm/random_shuffle.hpp:39:33: note: template<class RandomAccessRange> const RandomAccessRange& boost::range::random_shuffle(const RandomAccessRange&) /usr/include/boost-1_49/boost/range/algorithm/random_shuffle.hpp:30:27: note: template<class RandomAccessRange> RandomAccessRange& boost::range::random_shuffle(RandomAccessRange&) /usr/include/boost-1_49/boost/system/error_code.hpp: At global scope: /usr/include/boost-1_49/boost/system/error_code.hpp:214:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable] /usr/include/boost-1_49/boost/system/error_code.hpp:215:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable] /usr/include/boost-1_49/boost/system/error_code.hpp:216:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable] make[2]: *** [lib/CMakeFiles/vcmi.dir/CGameState.cpp.o] Error 1 make[1]: *** [lib/CMakeFiles/vcmi.dir/all] Error 2 make: *** [all] Error 2 | ||||||||
Steps To Reproduce | 1. Update the repository to 3391 revision. 2. Try to compile. | ||||||||
Additional Information | gcc - 4.6.4 boost - 1.49 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0003584) Ivan (developer) 2013-05-29 07:40 |
Got this too, will fix. |
(0003586) Ivan (developer) 2013-05-29 08:16 |
Fixed, rev 3392 |
Issue History | |||
Date Modified | Username | Field | Change |
2013-05-29 07:33 | o01eg | New Issue | |
2013-05-29 07:40 | Ivan | Note Added: 0003584 | |
2013-05-29 07:40 | Ivan | Assigned To | => Ivan |
2013-05-29 07:40 | Ivan | Status | new => assigned |
2013-05-29 08:16 | Ivan | Note Added: 0003586 | |
2013-05-29 08:16 | Ivan | Status | assigned => resolved |
2013-05-29 08:16 | Ivan | Resolution | open => fixed |
2014-05-30 17:43 | beegee | Status | resolved => closed |
Copyright © 2000 - 2024 MantisBT Team |