Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160625093707.GA19691@port70.net>
Date: Sat, 25 Jun 2016 11:37:07 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Fix warnings when build with clang

* Zhao, Weiming <weimingz@...eaurora.org> [2016-06-24 17:18:23 -0700]:
> Clang gives warnings about the missing parentheses for bitwise ops.
> 
> It's not functional but just code readability.
> 
> musl-m3/include/endian.h:32:25: warning: '&' within '|'
> [-Wbitwise-op-parentheses]
>         return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24;
>                        ~ ~~~~~~^~~~~~~

if clang warns about system headers that's a clang bug.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.