Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Make error from latest git  (Read 2911 times)

0 Members and 1 Guest are viewing this topic.

A

  • Anope User
  • Offline Offline
  • Posts: 21
Make error from latest git
« on: April 24, 2012, 04:50:48 AM »

/home/alpha/anope/anope/src/channels.cpp: In member function ‘void Channel::SetMode(const BotInfo*, ChannelMode*, const Anope::string&, bool)’:
/home/alpha/anope/anope/src/channels.cpp:540:45: error: no matching function for call to ‘Channel::SetModeInternal(const BotInfo*&, ChannelMode*&, const Anope::string&, bool&)’
/home/alpha/anope/anope/src/channels.cpp:540:45: note: candidate is:
/home/alpha/anope/anope/src/channels.cpp:340:6: note: void Channel::SetModeInternal(User*, ChannelMode*, const Anope::string&, bool) <near match>
/home/alpha/anope/anope/src/channels.cpp:340:6: note:   no known conversion for argument 1 from ‘const BotInfo*’ to ‘User*’
/home/alpha/anope/anope/src/channels.cpp: In member function ‘void Channel::RemoveMode(const BotInfo*, ChannelMode*, const Anope::string&, bool)’:
/home/alpha/anope/anope/src/channels.cpp:592:52: error: no matching function for call to ‘Channel::RemoveModeInternal(const BotInfo*&, ChannelMode*&, Anope::string&, bool&)’
/home/alpha/anope/anope/src/channels.cpp:592:52: note: candidate is:
/home/alpha/anope/anope/src/channels.cpp:415:6: note: void Channel::RemoveModeInternal(User*, ChannelMode*, const Anope::string&, bool) <near match>
/home/alpha/anope/anope/src/channels.cpp:415:6: note:   no known conversion for argument 1 from ‘const BotInfo*’ to ‘User*’
make[2]: *** [src/CMakeFiles/services.dir/channels.o] Error 1
make[1]: *** [src/CMakeFiles/services.dir/all] Error 2
make: *** [all] Error 2

Anyone else have this issue?
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Make error from latest git
« Reply #1 on: April 24, 2012, 01:15:28 PM »

1.9 git head is broken atm.. just wait till someone has time to look & fix..  ::)
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

A

  • Anope User
  • Offline Offline
  • Posts: 21
Re: Make error from latest git
« Reply #2 on: April 25, 2012, 04:55:10 AM »

New one from my latest git

In file included from /home/alpha/anope/anope/include/serialize.h:18:0,
                 from /home/alpha/anope/anope/include/modules.h:12,
                 from /home/alpha/anope/anope/src/modes.cpp:10:
/home/alpha/anope/anope/include/anope.h: In function ‘T debug_cast(O) [with T = ChannelMode*, O = Base*]’:
/home/alpha/anope/anope/src/modes.cpp:414:44:   instantiated from here
/home/alpha/anope/anope/include/anope.h:614:27: error: cannot convert from base ‘Base’ to derived type ‘ChannelMode’ via virtual base ‘Base’
/home/alpha/anope/anope/include/anope.h: In function ‘T debug_cast(O) [with T = UserMode*, O = Base*]’:
/home/alpha/anope/anope/src/modes.cpp:419:41:   instantiated from here
/home/alpha/anope/anope/include/anope.h:614:27: error: cannot convert from base ‘Base’ to derived type ‘UserMode’ via virtual base ‘Base’
/home/alpha/anope/anope/include/anope.h: In function ‘T debug_cast(O) [with T = Channel*, O = Base*]’:
/home/alpha/anope/anope/src/modes.cpp:481:39:   instantiated from here
/home/alpha/anope/anope/include/anope.h:614:27: error: cannot convert from base ‘Base’ to derived type ‘Channel’ via virtual base ‘Base’
/home/alpha/anope/anope/include/anope.h: In function ‘T debug_cast(O) [with T = User*, O = Base*]’:
/home/alpha/anope/anope/src/modes.cpp:688:37:   instantiated from here
/home/alpha/anope/anope/include/anope.h:614:27: error: cannot convert from base ‘Base’ to derived type ‘User’ via virtual base ‘Base’
/home/alpha/anope/anope/include/anope.h:616:1: warning: control reaches end of non-void function [-Wreturn-type]
/home/alpha/anope/anope/include/anope.h: In function ‘T debug_cast(O) [with T = Channel*, O = Base*]’:
/home/alpha/anope/anope/include/anope.h:616:1: warning: control reaches end of non-void function [-Wreturn-type]
/home/alpha/anope/anope/include/anope.h: In function ‘T debug_cast(O) [with T = ChannelMode*, O = Base*]’:
/home/alpha/anope/anope/include/anope.h:616:1: warning: control reaches end of non-void function [-Wreturn-type]
/home/alpha/anope/anope/include/anope.h: In function ‘T debug_cast(O) [with T = UserMode*, O = Base*]’:
/home/alpha/anope/anope/include/anope.h:616:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [src/CMakeFiles/services.dir/modes.o] Error 1
make[1]: *** [src/CMakeFiles/services.dir/all] Error 2
make: *** [all] Error 2
Logged
Pages: [1]   Go Up