lkml.org 
[lkml]   [2011]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: annoying new gcc 4.6.0 warnings.
    On Thu, Apr 21, 2011 at 01:09:11PM -0700, Linus Torvalds wrote:
    > On Thu, Apr 21, 2011 at 12:58 PM, Dave Jones <davej@redhat.com> wrote:
    > > @@ -359,7 +359,8 @@ KBUILD_CFLAGS   := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
    > >                   -fno-strict-aliasing -fno-common \
    > >                   -Werror-implicit-function-declaration \
    > >                   -Wno-format-security \
    > > -                  -fno-delete-null-pointer-checks
    > > +                  -fno-delete-null-pointer-checks \
    > > +                  -Wno-unused-but-set-variable
    >
    > Does this work ok for older gcc's? Do they understand that
    > -Wno-unused-by-set-variable?
    >
    > gcc-4.5.1 seems to understand it, but what about much older gccs?

    aparently not. I'll poke at it some more.

    Dave


    --
    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: 2011-04-21 22:19    [W:3.341 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site