There are now two remaining warnings.

Aurelien Jacobs aurel at gnuage.org
Wed Sep 7 12:11:12 UTC 2005


On Wed, 7 Sep 2005 02:09:29 -0500
Rob Landley <rob at landley.net> wrote:

> > /home/landley/busybox/busybox/networking/udhcp/options.c:160:
> > warning: dereferencing type-punned pointer will break
> > strict-aliasing rules 
> 
> This looks like an endianness problem to me.  (What's wrong with doing
> this  through &mask |value the way everybody else does it?)

I think it's more related to alignment of different pointer types.
What about the following patch ?

Aurel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: udhcp_warning_fix.diff
Url: http://lists.busybox.net/pipermail/busybox/attachments/20050907/0127d2d6/attachment.diff 


More information about the busybox mailing list