On Fri, Jan 30, 2009 at 6:44 PM, Gavin Romig-Koch gavin@redhat.com wrote:
I'm not seeing an error, or even a warning from gcc 4.3.2 for this, on the latest svn/trunk. Could you post the error your getting, and what options you are giving to gcc?
I do not pass any option to gcc.
$ gcc --version gcc (Ubuntu 4.3.2-1ubuntu12) 4.3.2
The script I use to compile the vm:
$ cd /tmp && svn co http://squeakvm.org/svn/squeak/trunk squeak-svn && cd squeak-svn && mkdir bld && cd bld && ../platforms/unix/config/configure --prefix=/opt/squeak && make && sudo make install
cc1: warnings being treated as errors In file included from /tmp/squeak-svn/platforms/unix/vm-display-fbdev/sqUnixFBDevMouse.c:109, from /tmp/squeak-svn/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:128: /tmp/squeak-svn/platforms/unix/vm-display-fbdev/sqUnixFBDevMousePS2.c: In function 'ms_ps2_send': /tmp/squeak-svn/platforms/unix/vm-display-fbdev/sqUnixFBDevMousePS2.c:113: error: ignoring return value of 'write', declared with attribute warn_unused_result /tmp/squeak-svn/platforms/unix/vm-display-fbdev/sqUnixFBDevMousePS2.c: In function 'ms_ps2_disable': /tmp/squeak-svn/platforms/unix/vm-display-fbdev/sqUnixFBDevMousePS2.c:144: error: ignoring return value of 'write', declared with attribute warn_unused_result make[1]: *** [sqUnixFBDev.lo] Error 1 make: *** [vm-display-fbdev.la] Error 2