Erik Hofman <[EMAIL PROTECTED]> wrote: > Update of /var/cvs/SimGear-0.3/SimGear/simgear/screen > In directory baron:/tmp/cvs-serv16338/simgear/screen
> Modified Files: > texture.cxx texture.hxx > Log Message: > Allow removing of the texture data after it is sent to OpenGL make[3]: Entering directory `/usr/local/src/SimGear/simgear/screen' if g++ -march=pentiumpro -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -I/opt/gnu/include -I/usr/local/include -I/usr/local/FlightGear/include -I/usr/X11R6/include -O3 -g -D_REENTRANT -MT texture.o -MD -MP -MF ".deps/texture.Tpo" \ -c -o texture.o `test -f 'texture.cxx' || echo './'`texture.cxx; \ then mv ".deps/texture.Tpo" ".deps/texture.Po"; \ else rm -f ".deps/texture.Tpo"; exit 1; \ fi texture.cxx: In member function `void SGTexture::set_pixel(unsigned int, unsigned int, float (&)[3])': texture.cxx:343: warning: assignment to `unsigned char' from `float' texture.cxx:343: warning: argument to `unsigned char' from `float' texture.cxx:344: warning: assignment to `unsigned char' from `float' texture.cxx:344: warning: argument to `unsigned char' from `float' texture.cxx:345: warning: assignment to `unsigned char' from `float' texture.cxx:345: warning: argument to `unsigned char' from `float' 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] Fehler 1 make[3]: Leaving directory `/usr/local/src/SimGear/simgear/screen' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/usr/local/src/SimGear/simgear' make[1]: *** [all] Fehler 2 make[1]: Leaving directory `/usr/local/src/SimGear/simgear' make: *** [all-recursive] Fehler 1 Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -------------------------------------------------------------------------- _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
