[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOJsxLEksW5Jn=xF+mFmKswRDny+ZfBTYRYUarzn_fmNcpk_OQ@mail.gmail.com>
Date: Thu, 23 Feb 2012 23:27:43 +0200
From: Pekka Enberg <penberg@...nel.org>
To: Colin Walters <walters@...bum.org>
Cc: linux-kernel@...r.kernel.org,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>, Ingo Molnar <mingo@...e.hu>,
Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Subject: Re: [PATCH] perf report: Add a simple GTK2-based 'perf report' browser
On Thu, Feb 23, 2012 at 10:33 PM, Colin Walters <walters@...bum.org> wrote:
>> Sure. We don't want to do that for all files. Just for the ones that
>> include <gtk/gtk.h>.
>
> #pragma GCC diagnostic push
> #pragma GCC diagnostic ignored "-Wstrict-prototypes"
> #include <gtk/gtk.h>
> #pragma GCC diagnostic pop
It's cleaner to do it at Makefile level. We should do something like
sparse.git Makefile does where you can optionally specify CFLAGS for
individual source files.
Pekka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists