lkml.org 
[lkml]   [2012]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] perf report: Add a simple GTK2-based 'perf report' browser
From
On Thu, Feb 23, 2012 at 10:33 PM, Colin Walters <walters@verbum.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


\
 
 \ /
  Last update: 2012-02-23 22:29    [from the cache]
©2003-2011 Jasper Spaans