This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] or1k: fix warnings about unsigned constants


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]