disable gcc warnings of sign/unsigned comparison
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Paul Jackson
Right now, compiling a 2.6.0-mm1 (what I had handy) with the 3.3 gcc on
That was a bug in gcc 3.3.0. It had the -Wsign-compare warning enabled in -Wall by mistake. Update to gcc 3.3.1, which has this fixed.
-Andi
Quoted 2 lines · Andi
That was a bug in gcc 3.3.0. It had the -Wsign-compare warning enabled in -Wall by mistake.
Correct. Even what is now downloadable as:
ftp://ftp.gnu.org/gnu/gcc/gcc-3.3
seems to have this fixed, and has a gcc/cp/NEWS file entry stating:
+ -Wall no longer implies -W. The new warning flag, -Wsign-compare, included in -Wall, warns about dangerous comparisons of signed and unsigned values. Only the flag is new; it was previously part of -W.
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.650.933.1373Quoted 6 lines · Andi Kleen
Quoted 1 line · Paul Jackson
Right now, compiling a 2.6.0-mm1 (what I had handy) with the 3.3 gcc on
That was a bug in gcc 3.3.0. It had the -Wsign-compare warning enabled in -Wall by mistake. Update to gcc 3.3.1, which has this fixed.
Wrong.
It was _not_ a bug in gcc 3.3 .
It was a bug in some _prerelease_ versions of gcc 3.3 SuSE decided to ship in a release of their distribution.
There is no officially released version of gcc with this problem.
Quoted 1 line
-Andi
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 2 lines
It was a bug in some _prerelease_ versions of gcc 3.3 SuSE decided to ship in a release of their distribution.
That matches my observations, as I noted an earlier reply on lkml, when I recommended against accepting my own patch, on the grounds that we shouldn't pollute the Makefile with exceptions that only applied to people running the gcc in a particular SuSE distro.
Good. Thanks for the confirmation.
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.650.933.1373Quoted 2 lines
It was a bug in some _prerelease_ versions of gcc 3.3 SuSE decided to ship in a release of their distribution.
That matches my observations, as I noted an earlier reply on lkml, when I recommended against accepting my own patch, on the grounds that we shouldn't pollute the Makefile with exceptions that only applied to people running the gcc in a particular SuSE distro.
Good. Thanks for the confirmation.
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.650.933.1373Quoted 6 lines · Andi Kleen
Quoted 1 line · Paul Jackson
Right now, compiling a 2.6.0-mm1 (what I had handy) with the 3.3 gcc on
That was a bug in gcc 3.3.0. It had the -Wsign-compare warning enabled in -Wall by mistake. Update to gcc 3.3.1, which has this fixed.
Wrong.
It was _not_ a bug in gcc 3.3 .
It was a bug in some _prerelease_ versions of gcc 3.3 SuSE decided to ship in a release of their distribution.
There is no officially released version of gcc with this problem.
Quoted 1 line
-Andi
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed