Dungeon Master
Posts: 762
Joined: Thursday, 25th April 2013, 02:43
Compile error in spl-summoning.cc
- Code:
CXX spl-summoning.o
spl-summoning.cc: In function ‘bool aim_battlesphere(actor*, spell_type, int, bolt&)’:
spl-summoning.cc:2571: error: no match for ‘operator!=’ in ‘i != std::vector<_Tp, _Alloc>::rend() [with _Tp = coord_def, _Alloc = std::allocator<coord_def>]()’
make: *** [spl-summoning.o] Error 1
Attempting to compile with -d gives, after several pages of "Pruning file" and "Prerequisite" messages:
- Code:
CXX spl-summoning.o
Putting child 0x1002a91f0 (spl-summoning.o) PID 2656 on the chain.
Live child 0x1002a91f0 (spl-summoning.o) PID 2656
spl-summoning.cc: In function ‘bool aim_battlesphere(actor*, spell_type, int, bolt&)’:
spl-summoning.cc:2571: error: no match for ‘operator!=’ in ‘i != std::vector<_Tp, _Alloc>::rend() [with _Tp = coord_def, _Alloc = std::allocator<coord_def>]()’
Reaping losing child 0x1002a91f0 PID 2656
make: *** [spl-summoning.o] Error 1
Removing child 0x1002a91f0 PID 2656 from chain.
I am running Mac OS X 10.6.8 and attempting to compile with Xcode version 3.2.6 (Because more recent versions of Xcode can't be used on Snow Leopard). I am using the default compile command for Macs in INSTALL.txt:
(The console version default just has the APPLE_GCC=y tag)