Hi,
I am editing logic/bob.cc so I got an idea I would fix also following
compilation errors.
/var/widelands/seafaring-ai/src/logic/bob.cc:1038:65: warning: format '%p'
expects argument of type 'void*', but argument 3 has type
'Widelands::MapObject*' [-Wformat=]
molog("* object pointer: %p\n", m_stack[i].objvar1.get(egbase));
^
/var/widelands/seafaring-ai/src/logic/bob.cc:1046:43: warning: format '%p'
expects argument of type 'void*', but argument 3 has type
'Widelands::Path*' [-Wformat=]
molog("\n* path: %p\n", m_stack[i].path);
^
/var/widelands/seafaring-ai/src/logic/bob.cc:1061:43: warning: format '%p'
expects argument of type 'void*', but argument 3 has type
'Widelands::Route*' [-Wformat=]
molog("* route: %p\n", m_stack[i].route);
Do you know what is the right syntax?
Thanks
_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help : https://help.launchpad.net/ListHelp