wired / colloquypush

Modules for irc clients and bouncers that add Push support to Colloquy Mobile
http://colloquy.mobi/
103 stars 31 forks source link

Error during compilation #28

Open Forst opened 12 years ago

Forst commented 12 years ago

Cannot compile the module, three errors are encountered:

colloquy.cpp: In member function 'CString CDevice::Serialize() const': colloquy.cpp:197: error: conversion from 'std::_associative_citer<CString, std::less<CString>, std::allocator<CString> >' to non-scalar type 'std::_associative_iter<CString, std::less<CString>, std::allocator<CString> >' requested colloquy.cpp: In member function 'virtual void CColloquyMod::OnModCommand(const CString&)': colloquy.cpp:575: error: conversion from 'std::_associative_citer<CString, std::less<CString>, std::allocator<CString> >' to non-scalar type 'std::_associative_iter<CString, std::less<CString>, std::allocator<CString> >' requested colloquy.cpp: In member function 'bool CColloquyMod::Push(const CString&, const CString&, const CString&, bool, int)': colloquy.cpp:795: error: conversion from 'std::_associative_citer<CString, std::less<CString>, std::allocator<CString> >' to non-scalar type 'std::_associative_iter<CString, std::less<CString>, std::allocator<CString> >' requested

Full build log: http://paste.ubuntu.com/997492/ Build script: http://paste.ubuntu.com/997461/

Building for mips32r2 using an SDK from OpenWrt's website, gcc-4.3.3, uClibc 0.9.30.1, Ubuntu 12.04

Stanback commented 11 years ago

I'm having the same issue, also compiling for mips32r2

gseitz commented 11 years ago

Changing SCString::iterator to SCString::const_iterator in the respective lines fixed the compiler errors for me.