Complie problem of gl-render.cc on cygwin
Tatsuro MATSUOKA
tmacchant at yahoo.co.jp
Tue Jul 29 03:47:05 CDT 2008
Hello
Complie problem of gl-render.cc occured on cygwin building.
Are these really error?
On mingw build such problem did not occur.
Are the following the bug of the compilier (gcc-3.4.4-3 on the cygwin)?
/opt/octave/gcc-3.4.4dw2/bin/g++ -c -I/opt/octave/gcc-3.4.4dw2/include -I/usr/include
-I/opt/octave/octave-3.1.51/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc
-DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2 gl-render.cc -o gl-render.o
gl-render.cc: In member function `virtual void opengl_tesselator::init()':
gl-render.cc:272: error: invalid conversion from `void (*)()' to `void (*)()'
gl-render.cc:272: error: initializing argument 3 of `void gluTessCallback(GLUtesselator*, GLenum,
void (*)())'
:
:
gl-render.cc:282: error: invalid conversion from `void (*)()' to `void (*)()'
gl-render.cc:282: error: initializing argument 3 of `void gluTessCallback(GLUtesselator*, GLenum,
void (*)())'
*****
267: virtual void init (void)
268: {
269: glu_tess = gluNewTess ();
270:
271: gluTessCallback (glu_tess, GLU_TESS_BEGIN_DATA,
272: reinterpret_cast<fcn> (tess_begin));
Regards
Tatsuro
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/
More information about the Bug-octave
mailing list