[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#270336: <no subject>



reassign 270336 vbox3
thanks

This is not a gcc bug; the code violates C's aliasing rules, as can be seen when
using -Wall:

falk@juist:/tmp/vbox3-0.1.9.2/vboxgetty% gcc-3.4  -W -Wall -DSYSCONFDIR=/usr/../etc/isdn/vbox -DPKGDATADIR=/usr/share/isdn/vbox -DLOGDIR=/var/log -DLOCKDIR=/var/lock -DPIDDIR=/var/run -DHAVE_CONFIG_H  -I/usr/include/tcl8.3    -g -O2 -c vboxrc1.c                    
vboxrc1.c: In function `vboxrc_parse':
vboxrc1.c:107: warning: dereferencing type-punned pointer will break strict-aliasing rules
[...]

Either the source should be fixed, or -fno-strict-aliasing added as a workaround.

Falk





Reply to: