Bug#722144: iwyu: should double-check its suggesstions

2013-09-08 Thread Sebastian Ramacher
Package: iwyu Version: 3.3-1 Let's consider the following example: $ cat test.c #include glib.h #include stdio.h int main() { char* f = g_strdup_printf(%s, test); printf(%s\n, f); g_free(f); return 0; } Running iwyu tells me to replace glib.h: $ iwyu `pkg-config

Bug#722144: iwyu: should double-check its suggesstions

2013-09-08 Thread Sylvestre Ledru
On 08/09/2013 14:23, Sebastian Ramacher wrote: $ iwyu `pkg-config --cflags glib-2.0` test.c In file included from test.c:1: In file included from /usr/include/glib-2.0/glib.h:32: In file included from /usr/include/glib-2.0/glib/galloca.h:34: In file included from