[Swan-dev] Build fails with -Werrror on i686 after commit 72636a3df4ecac7eca85bb317b3c3d57b01d6c31

Tuomo Soini tis at foobar.fi
Mon Nov 21 22:43:31 UTC 2016


On Mon, 21 Nov 2016 12:11:57 -0500 (EST)
"D. Hugh Redelmeier" <hugh at mimosa.com> wrote:

> I would prefer the following if it doesn't generate warnings (it is
> perfectly legal):
> 
> 	header[1] = (now >> 16) >> 16; /* >> 32 not legal on some
> systems */

I'd  make more specific comment, something like:

/* >> 32 not legal on 32-bit systems */

> Tuomo: can you test this on a 32-bit system?  I don't have any at
> hand.

Yes, that works on i686 - and Antony tested on raspberry pi and it
worked there too.


-- 
Tuomo Soini <tis at foobar.fi>
Foobar Linux services
+358 40 5240030
Foobar Oy <http://foobar.fi/>


More information about the Swan-dev mailing list