| Liste des Groupes | Revenir à cl c |
In article <vrc75b$2r4lt$1@dont-email.me>,
David Brown <david.brown@hesbynett.no> wrote:
...
>gcc won't warn until you say '-Wextra', and then only for:>
>
int a = a + 1;
People would not normally write "int a = a;". It is used as a
common idiom meaning "I know it is not clear to the compiler that
the variable is always initialised before use, but /I/ know it is -
so disable the use-without-initialisation warnings for this
variable". So it makes perfect sense for the compiler not to warn
about it!
Wouldn't it just be easier and clearer to write: int a = 0;
and be done with it?
| Date | Sujet | # | Auteur | |
| 18 Mar 25 | Bart's Language | 57 | bart | |
| 18 Mar 25 | ![]() Re: Bart's Language | 56 | Waldek Hebisch | |
| 18 Mar 25 | ![]() ![]() Re: Bart's Language | 55 | bart | |
| 18 Mar 25 | ![]() ![]() ![]() Re: Bart's Language | 54 | Waldek Hebisch | |
| 18 Mar 25 | ![]() ![]() ![]() ![]() Re: Bart's Language | 46 | bart | |
| 18 Mar 25 | ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 36 | David Brown | |
| 18 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() int a = a (Was: Bart's Language) | 35 | Kenny McCormack | |
| 18 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 25 | Janis Papanagnou | |
| 18 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 1 | Kaz Kylheku | |
| 19 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 23 | David Brown | |
| 19 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 1 | Kaz Kylheku | |
| 19 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 14 | Keith Thompson | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 12 | Tim Rentsch | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 11 | Keith Thompson | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 8 | David Brown | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 7 | Keith Thompson | |
| 21 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 6 | David Brown | |
| 21 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 5 | Keith Thompson | |
| 21 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 1 | David Brown | |
| 22 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 3 | Tim Rentsch | |
| 22 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 2 | Keith Thompson | |
| 28 Apr 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 1 | Tim Rentsch | |
| 29 Apr 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 2 | Tim Rentsch | |
| 29 Apr 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 1 | Keith Thompson | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 1 | David Brown | |
| 19 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 5 | Chris M. Thomasson | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 4 | David Brown | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 3 | bart | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 2 | David Brown | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 1 | wij | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 2 | Tim Rentsch | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 1 | David Brown | |
| 18 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 3 | David Brown | |
| 18 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 2 | Janis Papanagnou | |
| 19 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 1 | David Brown | |
| 19 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 6 | Tim Rentsch | |
| 19 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 2 | Keith Thompson | |
| 27 Apr 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a | 1 | Tim Rentsch | |
| 19 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 1 | David Brown | |
| 19 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 2 | Rosario19 | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: int a = a (Was: Bart's Language) | 1 | Tim Rentsch | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 9 | Waldek Hebisch | |
| 21 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 8 | Keith Thompson | |
| 22 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 5 | Waldek Hebisch | |
| 22 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 4 | James Kuyper | |
| 22 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 2 | Waldek Hebisch | |
| 23 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 1 | James Kuyper | |
| 23 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() By definition... (Was: Bart's Language) | 1 | Kenny McCormack | |
| 27 Apr 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 2 | Tim Rentsch | |
| 27 Apr 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 1 | Keith Thompson | |
| 18 Mar 25 | ![]() ![]() ![]() ![]() Re: Bart's Language | 7 | bart | |
| 20 Mar 25 | ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 6 | Waldek Hebisch | |
| 21 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 4 | Kaz Kylheku | |
| 21 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 3 | bart | |
| 21 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 2 | Kaz Kylheku | |
| 22 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 1 | Tim Rentsch | |
| 21 Mar 25 | ![]() ![]() ![]() ![]() ![]() ![]() Re: Bart's Language | 1 | bart |
Les messages affichés proviennent d'usenet.