I'm catching the following during a compile:

./unzip/unix/unix.c: In function 'set_symlnk_attribs':
./unzip/unix/unix.c:1306:18: warning: dereferencing type-punned
pointer will break strict-aliasing rules [-Wstrict-aliasing]

The warning is benign on many x86 family processors since the CPU or
Operating System will fix up the data. It just becomes a costly
operation.

Some ARM processors are a different beast altogether. If the punned
data is not correctly aligned, it will brick the program on older
ARMv4 and ARMv5 devices (been there, done that). I'm not sure how
newer ARM processors handle misaligned data since I pay close
attention to this warning.

Jeff
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to