something to warry about...
Denys Vlasenko
vda.linux at googlemail.com
Wed Jan 19 15:17:51 UTC 2011
On Wed, Jan 19, 2011 at 3:45 PM, Johannes Stezenbach <js at sig21.net> wrote:
>> But I have a deeper problem here. I do not see it as a good decision
>> to butcher a readable piece of code into a obfuscated mess *only*
>> to shut up gcc. gcc has to provide means to do it in some cleaner way.
>
> The gcc warning means: This is invalid code, it will break with
> other compilers (including future gcc versions). The C99 standard
> defines the aliasing rules precisely.
I have no problem with warning per se. I have a problem with near
impossibility to explain gcc that here I do want mii pointer
to be treated as "can alias anything".
--
vda
More information about the busybox
mailing list