GetDeb Software Portal

Comment 1 for bug 976856

Christoph Korn (c-korn) wrote :

Hum, this warning is being print if getDebugName() of the Irrlicht device returns something.
(src/graphics/irr_driver.cpp in supertuxkart).
Test program:
#include <irrlicht.h>
#include <IrrlichtDevice.h>

using namespace irr;
using namespace irr::core;
using namespace irr::scene;
using namespace irr::video;

int main() {
 IrrlichtDevice *iDevice = createDevice(video::EDT_NULL);
 printf("%s\n", iDevice->getDebugName());

 if(iDevice->getDebugName())
  return 1;
 return 0;
}

Compiled: g++ -I/usr/include/irrlicht/ -lIrrlicht test.cpp
Output:
Irrlicht Engine version 1.7.0
Linux 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 20:45:39 UTC 2012 x86_64
CIrrDeviceLinux

echo $?:
1

This is also the case with the Irrlicht package that comes with lucid:
apt-cache policy libirrlicht-dev
libirrlicht-dev:
  Installed: 1.7+dfsg1-1
  Candidate: 1.7+dfsg1-1
  Version table:
 *** 1.7+dfsg1-1 0
        500 http://localhost/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

Probably the debugging setting just enables the debug symbols but they should be stripped out anyway.
I will see if I can reproduce the behavior here and try if compiling irrlicht not in debug mode fixes it.