Jump to content

compilation problem with MassMailer


Recommended Posts

Posted

Hi,

I am not sure if plumkis has the same problem as me but as I can't compile (rev 10923) because of MassMailMgr as well I though it might be okay to use this thread.

I am getting the following error message:

In file included from ../../../src/game/GameEventMgr.cpp:29:
../../../src/game/MassMailMgr.h:114: error: invalid constructor; you probably meant 'MassMailMgr::MassMail (const MassMailMgr::MassMail&)'
../../../src/game/MassMailMgr.h: In member function '__gnu_cxx::hash_set<unsigned int, __gnu_cxx::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int> >& MassMailMgr::AddMassMailTask(MailDraft*, MailSender)':
../../../src/game/MassMailMgr.h:89: error: no matching function for call to 'MassMailMgr::MassMail::MassMail(MassMailMgr::MassMail)'
make[4]: *** [GameEventMgr.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I am compiling on Mac OS X (Snow Leopard 10.6.5) with gcc 4.2.1. Maybe the gcc version is a problem? But I have to use an 'Apple' gcc version (4.2.1 is latest) because for g3dlite I need to use the CoreFoundation framework which is not compatible to gcc > 4.2.x.

The last mangos version I successfully compiled was 10780. I haven't tried any others in between.

Hope someone can help.

Thanks in advance.

Cheers

Juergen

Posted

Yeah sorry, [10923] was the last version I compiled successfully. The one I am trying to compile is [10982] so therefore the MassMail code and fix of [10974] is incorporated.

When I look at the comment (in [10970]) with the error message of user rsa which was fixed in [10974] it is slightly different to mine (besides the fact that the text seems to be cyrillic ;) ).

There it was "no matching function for call to 'MassMailMgr::MassMail::MassMail(MassMailMgr::MassMail&)'" and I get "no matching function for call to 'MassMailMgr::MassMail::MassMail(MassMailMgr::MassMail)".

Any ideas?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use