[ipxe-devel] error: dereferencing pointer ‘pos’ does break strict-aliasing rules

Alex Davies alex at davz.net
Fri May 4 16:26:19 UTC 2012


Hi,

There is a regression since 838a76a0426844e918d12ae0d2e2ee7622a0eca6; I get
the following on building ipxe

root at cer-hall1:/usr/src/ipxe-793b8b0/src# make bin/undionly.kpxe
EMBED=xxx.ipxe

  [BUILD] bin/list_test.o

cc1: warnings being treated as errors

tests/list_test.c: In function ‘list_test_exec’:

tests/list_test.c:429: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:429: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:429: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:429: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:429: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:429: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:429: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:429: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:428: note: initialized from here

tests/list_test.c:438: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:438: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:438: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:438: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:438: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:438: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:438: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:438: error: dereferencing pointer ‘pos’ does break
strict-aliasing rules

tests/list_test.c:437: note: initialized from here

make: *** [bin/list_test.o] Error 1


I get no such error building 838a76a042684.


Thanks,


Alex

-- 
Alex Davies

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender immediately by e-mail and delete this e-mail permanently.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120504/c1c84ed0/attachment.htm>


More information about the ipxe-devel mailing list