This is the correct syntax - %p is used for pointers. The warnings come
up because the compiler expects void* as the only legal type for this,
altough printf allows any pointer here.
So, not our bug.
Sgrìobh Tibor Bamhor na leanas 03/02/2015 aig 08:33:
> Hi,
>
> I am editing logic/bob.cc so I
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",
2 matches
Mail list logo