This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: 0xffffffff when BFD64
On Fri, Apr 07, 2000 at 12:50:17PM -0700, Geoff Keating wrote:
> One easy solution is to write '0xffffffffu', which is an explicitly
> unsigned constant. There is some GCC warning flag which will complain
> about this, saying 'constant is so large it is unsigned'; it is turned
> on for GCC itself.
As I mentioned already, the 'u' suffix was created as part of the ANSI process
(pretty much at the same time the type were changed), and pre-ISO C compilers
like the SunOS compiler do not accept it.
--
Michael Meissner, Cygnus Solutions, a Red Hat company.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482