This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: RFA: fix PR 7286


On Mon, 5 Jan 2009, Tom Tromey wrote:

> PR 7286 concerns the type of certain decimal integer constants.
> 
> According to C99, such a constant is never unsigned, but instead is of
> the next wider type (from int, long, and long long) which can
> represent its value.

Note that this is something that changed in C99; in C90 such constants 
(wider than signed long) would be unsigned.

-- 
Joseph S. Myers
joseph@codesourcery.com


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