Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during compilation #28

Open
Forst opened this issue May 20, 2012 · 2 comments
Open

Error during compilation #28

Forst opened this issue May 20, 2012 · 2 comments

Comments

@Forst
Copy link
Contributor

Forst commented May 20, 2012

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
Copy link

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

@gseitz
Copy link

gseitz commented Oct 27, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants