[PATCH] or1k: fix warnings about unsigned constants
Nicholas Clifton
nickc@redhat.com
Thu Jun 26 12:20:00 GMT 2014
Hi Philippe,
> or1k-desc.h:260:73: error: this decimal constant is unsigned only in ISO C90 [-Werror]
> or1k-desc.h:263:73: error: this decimal constant is unsigned only in ISO C90 [-Werror]
> or1k-desc.h:270:4: error: this decimal constant is unsigned only in ISO C90 [-Werror]
> Fix that by adding 'u' at the end of those constants.
I have applied your patch, but... or1k-desc.h is a generated file. The
correct solution is to fix the source that was used to build this file
and then regenerate it. Unfortunately I cannot find where these
constants come from. Perhaps somebody will be able to enlighten me.
Cheers
Nick
More information about the Binutils
mailing list