[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [7234] Use a more natural order
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-devel] Re: [7234] Use a more natural order |
Date: |
Thu, 23 Apr 2009 23:10:14 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Lennart Sorensen wrote:
> > > if (x = 0) {
> > >
> > > compiles silently even when you didn't mean that.
> >
> > Today gcc will warn you as well. Of course this means you have to look
> > at warnings.
>
> True. You can tell it off by doing if ((x = 0)) it seems.
>
> Always safer to treat warnings as errors it seems.
If you want, you can force specific warnings to become errors in current GCC.
-- Jamie
- Re: [Qemu-devel] [7234] Use a more natural order, (continued)
- Re: [Qemu-devel] [7234] Use a more natural order, Lennart Sorensen, 2009/04/23
- Re: [Qemu-devel] [7234] Use a more natural order, M. Warner Losh, 2009/04/23
- Re: [Qemu-devel] [7234] Use a more natural order, Lennart Sorensen, 2009/04/23
- Re: [Qemu-devel] [7234] Use a more natural order, M. Warner Losh, 2009/04/23
- Re: [Qemu-devel] [7234] Use a more natural order, Lennart Sorensen, 2009/04/23
- Re: [Qemu-devel] [7234] Use a more natural order, Jamie Lokier, 2009/04/23
- Re: [Qemu-devel] [7234] Use a more natural order, Jamie Lokier, 2009/04/23
[Qemu-devel] Re: [7234] Use a more natural order, Jan Kiszka, 2009/04/23
Re: [Qemu-devel] [7234] Use a more natural order, Gerd Hoffmann, 2009/04/24