From anonymous, 7 Years ago, written in Plain Text.
Embed
  1. ircbot.cpp: In member function 'virtual CModule::EModRet CSampleMod::OnPrivMsg(CNick&, CString&)':
  2. ircbot.cpp:34: error: 'uptime' was not declared in this scope
  3. ircbot.cpp: In member function 'virtual CModule::EModRet CSampleMod::OnChanMsg(CNick&, CChan&, CString&)':
  4. ircbot.cpp:48: error: invalid conversion from 'const char*' to 'unsigned int'
  5. ircbot.cpp:48: error:   initializing argument 2 of 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
  6. ircbot.cpp:48: error: invalid conversion from 'const char*' to 'unsigned int'
  7. ircbot.cpp:48: error:   initializing argument 3 of 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
  8. ircbot.cpp:48: error: expected ')' before ';' token
  9. make[1]: *** [ircbot.so] Error 1
  10. make: *** [modules] Error 2
  11.