Re: [PATCH] perfcounter: don't keep warnings treated as errors asdefault

From: Ingo Molnar
Date: Thu Jun 04 2009 - 15:45:57 EST



* Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> Building userspace perfcounter tools gives such warning:
>
> cc1: warnings being treated as errors
> builtin-top.c: In function âprint_sym_tableâ:
> builtin-top.c:207: erreur: ignoring return value of âwriteâ, declared with attribute warn_unused_result
> make: *** [builtin-top.o] Erreur 1

I've fixed this by changing that line to puts(CONSOLE_CLEAR) (folded
that into your other patch). Do you get any other warnings? We want
to fix them really.

Ingo
--
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/