[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GCC complaints about missing braces around initializer
From: |
Richard Stallman |
Subject: |
Re: GCC complaints about missing braces around initializer |
Date: |
Wed, 5 Dec 2001 19:45:35 -0700 (MST) |
The similar applies to:
if (c1 > 0 && c1 < 32 || c2 > 0 && c2 < 32)
return -1;
This is a place which really is worth changing.
Real programmers get confused reading such code.
That's one of the GCC warnings I decided to add
because I thought it was useful, rather than
because someone else wanted it.
Adding parentheses is certainly safe in any version of C.
- Re: New mh-e toolbar icons, (continued)
- Re: New mh-e toolbar icons, Richard Stallman, 2001/12/04
- Re: New mh-e toolbar icons, Peter S Galbraith, 2001/12/04
- Too new DOC file or .elc file, Stefan Monnier, 2001/12/04
- Re: Too new DOC file or .elc file, Richard Stallman, 2001/12/05
- Re: Too new DOC file or .elc file, Stefan Monnier, 2001/12/06
- GCC complaints about missing braces around initializer, Stefan Monnier, 2001/12/04
- Re: GCC complaints about missing braces around initializer, Pavel Janík, 2001/12/05
- Re: GCC complaints about missing braces around initializer,
Richard Stallman <=
- Re: GCC complaints about missing braces around initializer, Pavel Janík, 2001/12/08
- Re: GCC complaints about missing braces around initializer, Richard Stallman, 2001/12/05
- Re: GCC complaints about missing braces around initializer, Paul Eggert, 2001/12/07
- Re: GCC complaints about missing braces around initializer, Pavel Janík, 2001/12/08
- Re: New mh-e toolbar icons, Eli Zaretskii, 2001/12/05
- Re: New mh-e toolbar icons, Bill Wohler, 2001/12/05
- Re: New mh-e toolbar icons, Richard Stallman, 2001/12/03
Re: New mh-e toolbar icons, Jason Rumney, 2001/12/04