Compile error Rev: 02b6140b355e8de211c49a1dde0867124a723782

Forum rules
NO LONGER BEING MAINTAINED!
Post Reply
lentik
Posts: 11
Joined: Tue Nov 13, 2012 8:15 am

Compile error Rev: 02b6140b355e8de211c49a1dde0867124a723782

Post by lentik » Sat Feb 08, 2014 6:31 am

Hi There,

i got an compile error in the charutils since commit revision 02b6140b355e8de211c49a1dde0867124a723782:

gcc (Debian 4.8.2-14) 4.8.2

Error:
src/map/utils/charutils.cpp: In function 'int32 charutils::hasTrait(CCharEntity*, uint8)':
src/map/utils/charutils.cpp:2577:122: error: cannot pass objects of non-trivially-copyable type 'string_t {aka class std::basic_string<char>}' through '...'
ShowError("charutils::hasTrait Attempt to reference a trait from a non-character entity: %s %i", PChar->name, PChar->id);
^
src/map/utils/charutils.cpp: In function 'int32 charutils::addTrait(CCharEntity*, uint8)':
src/map/utils/charutils.cpp:2587:122: error: cannot pass objects of non-trivially-copyable type 'string_t {aka class std::basic_string<char>}' through '...'
ShowError("charutils::addTrait Attempt to reference a trait from a non-character entity: %s %i", PChar->name, PChar->id);
^
src/map/utils/charutils.cpp: In function 'int32 charutils::delTrait(CCharEntity*, uint8)':
src/map/utils/charutils.cpp:2597:122: error: cannot pass objects of non-trivially-copyable type 'string_t {aka class std::basic_string<char>}' through '...'
ShowError("charutils::delTrait Attempt to reference a trait from a non-character entity: %s %i", PChar->name, PChar->id);
^
best regards


lentik
Posts: 11
Joined: Tue Nov 13, 2012 8:15 am

Re: Compile error Rev: 02b6140b355e8de211c49a1dde0867124a723

Post by lentik » Sat Feb 08, 2014 5:14 pm

thx too !

Post Reply