Followup-For: Bug #722132
Package: iwyu
Version: 3.3-2
Control: reopen -1
Control: found -1 3.3-2
Control: notfixed -1 3.3-2

On Sun, Sep 08, 2013 at 11:21:11AM +0000, Debian Bug Tracking System wrote:

>    * clang is a mandatory dependency (Closes: #722132)

This doesn't appear to fix this issue:

pabs@chianamo ~ $ cat test.c
#include <glib.h>

int
main (int argc,
      char* argv[])
{
  return 0;
}

pabs@chianamo ~ $ gcc `pkg-config --cflags glib-2.0` -o test test.c
pabs@chianamo ~ $ iwyu `pkg-config --cflags glib-2.0` -o test 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 /usr/include/glib-2.0/glib/gtypes.h:34:
In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9:
/usr/include/glib-2.0/glib/gmacros.h:40:10: fatal error: 'stddef.h' file not 
found
#include <stddef.h>
         ^

test.c should add these lines:

test.c should remove these lines:
- #include <glib.h>  // lines 1-1

The full include-list for test.c:
---

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages iwyu depends on:
ii  clang-3.4   1:3.4~svn183914-1
ii  libc6       2.17-92+b1
ii  libgcc1     1:4.8.1-2
ii  libstdc++6  4.8.1-2

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to