lkml.org 
[lkml]   [2012]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] perf: Fix build failure on OpenSuse userspace
    Em Fri, May 04, 2012 at 10:44:28AM -0400, Arnaud Lacombe escreveu:
    > CC util/parse-events-flex.o
    > <stdout>: In function ‘yy_get_next_buffer’:
    > <stdout>:1510:3: error: comparison between signed and unsigned integer
    > expressions [-Werror=sign-compare]
    > util/parse-events.l: In function ‘parse_events_lex’:
    > util/parse-events.l:122:1: error: ignoring return value of
    > ‘fwrite’, declared with attribute warn_unused_result
    > [-Werror=unused-result]
    > cc1: all warnings being treated as errors
    >
    > So I doubt -Wno-unused-parameter will do any good here.
    >
    > How about my solution, pre-generating the lexer/tokenizer ? It has
    > been used without trouble in other place of the tree for years. I
    > don't really see the point of micro-managing flex/bison issue here.

    This was what we did in the first place:

    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=89812fc81f8d62d70433a8ff63d26819f372e8ec

    Then we asked Linus about it and he said:

    https://lkml.org/lkml/2012/3/28/417

    So we:

    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=65f3e56e0c81d1f581c4bdef7646ae5a8d51f494

    - Arnaldo
    --
    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: 2012-05-04 17:41    [W:0.041 / U:31.092 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site