Re: [PATCH 2/2] perf: squelch warnings from perl.h to compile-pass

From: Ramkumar Ramachandra
Date: Sun Jul 07 2013 - 05:22:47 EST


Kirill A. Shutemov wrote:
> On Fri, Jul 05, 2013 at 11:34:12AM +0900, Namhyung Kim wrote:
>> On Thu, 4 Jul 2013 19:10:46 +0530, Ramkumar Ramachandra wrote:
>> > Currently, a simple
>> >
>> > $ make
>> >
>> > errors out because we compile with -Werror by default, turning all
>> > warnings into errors. Although no warnings are emitted by our code
>> > itself, two kinds of warnings are emitted by perl.h (perl 5.18.0):
>> >
>> > -Wundef and -Wswitch-default
>>
>> IIRC there's a floating patch for this, but I cannot find it now.
>
> This one: https://lkml.org/lkml/2013/6/24/66 ?

Yeah, I think this is more sensible than my approach.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/