* Martin Spott -- Friday 11 July 2003 13:42: > Unfortunately this still does not fix it. [...]
> texture.cxx: In member function `void SGTexture::set_pixel(unsigned int, > unsigned int, float (&)[3])': > texture.cxx: In member function `float (* SGTexture::get_pixel(unsigned int, > unsigned int))[3]': > texture.cxx:356: error: return-statement with no value, in function declared > with a non-void return type > make[3]: *** [texture.o] Error 1 Of course not. Erik's crappy compiler doesn't seem to find it strange that a function doesn't return anything. :-> m. diff -u -p -U0 -r1.8 texture.cxx --- texture.cxx 11 Jul 2003 10:55:17 -0000 1.8 +++ texture.cxx 11 Jul 2003 12:11:45 -0000 @@ -356 +356 @@ SGTexture::get_pixel(GLuint x, GLuint y) - return; + return &c; _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
