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
Compile error Rev: 02b6140b355e8de211c49a1dde0867124a723782
Forum rules
NO LONGER BEING MAINTAINED!
NO LONGER BEING MAINTAINED!