--- In c-prog@yahoogroups.com, "Paul Herring" <[EMAIL PROTECTED]> wrote:
>
> On Sun, Nov 23, 2008 at 2:57 PM, John Matthews <[EMAIL PROTECTED]> wrote:
> > --- In c-prog@yahoogroups.com, Thomas Hruska <thruska@> wrote:
> >>
> >> BTW, you should have your compiler warnings turned up so that you
get a
> >> warning for assigning a signed value to an unsigned variable.
> >
> > Thomas- is this easy in Microsoft world? And anyone know the gcc
> > equivalent? Gcc's -Wall 'all warnings' option doesn't include it.
> 
> If you include 'unsigned' in the cast, then there won't be a warning,
> since you're not longer assigning a signed value to an unsigned one.

I meant in code without casts.

(Apologies if this post is a repeat- first attempt appeared to fail.)

Reply via email to