lkml.org 
[lkml]   [2004]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] disable gcc warnings of sign/unsigned comparison
    Andi wrote:
    > 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.

    --
    I won't rest till it's the best ...
    Programmer, Linux Scalability
    Paul Jackson <pj@sgi.com> 1.650.933.1373
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:59    [W:0.018 / U:1.340 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site