This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [RFA] fix gdb.base/remote.c for small int targets


> Date: Fri, 31 Aug 2001 09:45:14 -0700
> From: Kevin Buettner <kevinb@cygnus.com>
> 
> > Anyway, I know at least one compiler which would print a warning about
> > large constants being converted to unsigned.
> 
> Could you test this again?  Remember that the expression in question is
> being evaluated by the C preprocessor, not the C compiler proper.
> 
> > I think it's best to
> > avoid warnings, even if they are not mandated by the standard.
> 
> I don't entirely agree; some compilers produce warnings for perfectly
> reasonable code.

Kevin, I don't want to make a prolonged argument out of this.  If
you-all are happy with including that code verbatim, I don't mind,
either.


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