22 Jan
2013
22 Jan
'13
7:34 p.m.
On Mon, Jan 14, Johannes Hofmann wrote:
line 135 in lout object.cc: return ((int*)&value)[0] ^ ((int*)&value)[1];
causes the following error on 64bit systems for me:
warning: dereferencing type-punned pointer will break strict-aliasing rules
Can we replace it like this: [...]
Committed, and tested with an amd64 system. Actually, this code is never used in dillo, but in objman-test, for which I fixed a bug in this method. Sebastian