[fixed]Broken SVN 1060

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

[fixed]Broken SVN 1060

Post by randomMesh »

My Linux box says:

Code: Select all

foo@ellis:~/irrlicht-svn/source/Irrlicht$ make NDEBUG=1
g++ -Wall -fexpensive-optimizations -O3 -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o COpenGLExtensionHandler.o COpenGLExtensionHandler.cpp
COpenGLExtensionHandler.h: In member function »void* irr::video::COpenGLExtensionHandler::extGlMapBuffer(GLenum, GLenum)«:
COpenGLExtensionHandler.h:1437: Warnung: keine return-Anweisung in nicht void zurückgebender Funktion
COpenGLExtensionHandler.h: In member function »GLboolean irr::video::COpenGLExtensionHandler::extGlUnmapBuffer(GLenum)«:
COpenGLExtensionHandler.h:1449: Warnung: keine return-Anweisung in nicht void zurückgebender Funktion
COpenGLExtensionHandler.h: In member function »GLboolean irr::video::COpenGLExtensionHandler::extGlIsBuffer(GLuint)«:
COpenGLExtensionHandler.h:1461: Warnung: keine return-Anweisung in nicht void zurückgebender Funktion
COpenGLExtensionHandler.cpp: In member function »void irr::video::COpenGLExtensionHandler::initExtensions(bool)«:
COpenGLExtensionHandler.cpp:385: Fehler: ungültige Umwandlung von »void (*)(GLsizei, const GLuint*)« in »void (*)(GLenum, GLenum, GLint*)«
make: *** [COpenGLExtensionHandler.o] Fehler 1
regards
randomMesh
Last edited by randomMesh on Mon Nov 19, 2007 4:25 am, edited 1 time in total.
hey_i_am_real
Posts: 44
Joined: Thu Sep 28, 2006 2:27 pm
Location: Europe

Post by hey_i_am_real »

Got the same compilation errors (but translated in my language).
I like working with rank-outsiders, as long as they give themselves the means to achieve their ambitions.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, some missing returns in the wrapper functions. Should be fixed in revision 1061.
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Post by randomMesh »

hybrid wrote:Yes, some missing returns in the wrapper functions. Should be fixed in revision 1061.
The warnings are gone indeed, but the error still remains:

Code: Select all

foo@ellis:~/irrlicht-svn/source/Irrlicht$ make NDEBUG=1
g++ -Wall -fexpensive-optimizations -O3 -I../../include -Izlib -Ijpeglib -Ilibpng -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o COpenGLExtensionHandler.o COpenGLExtensionHandler.cpp
COpenGLExtensionHandler.cpp: In member function »void irr::video::COpenGLExtensionHandler::initExtensions(bool)«:
COpenGLExtensionHandler.cpp:385: Fehler: ungültige Umwandlung von »void (*)(GLsizei, const GLuint*)« in »void (*)(GLenum, GLenum, GLint*)«
make: *** [COpenGLExtensionHandler.o] Fehler 1
Luke
Admin
Posts: 449
Joined: Fri Jul 14, 2006 7:55 am
Location: Australia
Contact:

Post by Luke »

weird that I didn't get those warnings, and sorry about the error, I didn't compile it under linux, and when I was copying and pasting missed one.

is SVN 1062 ok?
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Post by randomMesh »

Luke wrote:is SVN 1062 ok?
Yes, 1062 compiles fine. Thanks for the quick fix.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Oh, I see. I tried it with GL extension pointer disabled, so I was just using the immediate function calls...
Post Reply