<div dir="ltr">it seems that the problem is due to the fact that I had a version of clang from experimental. <div style>I have removed/purged clang/llvm and now it is all fine, sorry for the noise.</div><div style>Should I close the bug report now ? People who have been using clang from experimental may have a similar problem.</div>
<div style><br></div><div style><br></div><div style>Best regards</div><div style>C.</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 10, 2013 at 6:08 PM, Christophe Prud'homme <span dir="ltr"><<a href="mailto:prudhomm@debian.org" target="_blank">prudhomm@debian.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Package: clang-3.2<br>
Version: 1:3.2repack-2<br>
Severity: grave<br>
Justification: renders package unusable<br>
<br>
Dear Maintainer,<br>
<br>
<br>
*** Please consider answering these questions, where appropriate ***<br>
<br>
* What led up to the situation?<br>
<br>
compiling c++ code<br>
<br>
#include <cstddef><br>
int main()<br>
{}<br>
<br>
fails to compile with clang++.<br>
<br>
clang++ -o t toto.cpp<br>
In file included from toto.cpp:1:<br>
/usr/bin/../lib/gcc/x86_64-linux-<br>
gnu/4.8/../../../../include/c++/4.8/cstddef:41:10: fatal error: 'stddef.h' file<br>
not found<br>
#include <stddef.h><br>
^<br>
1 error generated.<br>
<br>
stddef.h is in /usr/lib/llvm-3.2/lib/clang/3.2/include/<br>
<br>
compiling using the following command works<br>
clang++ -I /usr/lib/llvm-3.2/lib/clang/3.2/include/ -o t toto.cpp<br>
<br>
* What outcome did you expect instead?<br>
<br>
the user should not have to add /usr/lib/llvm-3.2/lib/clang/3.2/include/ in the<br>
header directories, no ?<br>
<br>
*** End of the template - remove these lines ***<br>
<br>
<br>
<br>
-- System Information:<br>
Debian Release: jessie/sid<br>
APT prefers unstable<br>
APT policy: (500, 'unstable'), (1, 'experimental')<br>
Architecture: amd64 (x86_64)<br>
<br>
Kernel: Linux 3.8-1-amd64 (SMP w/4 CPU cores)<br>
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)<br>
Shell: /bin/sh linked to /bin/dash<br>
<br>
Versions of packages clang-3.2 depends on:<br>
ii libc6 2.17-1<br>
ii libclang-common-dev 1:3.2repack-2<br>
ii libffi5 3.0.10-3<br>
ii libgcc1 1:4.8.0-6<br>
ii libllvm3.2 1:3.2repack-2<br>
ii libstdc++6 4.8.0-6<br>
ii libstdc++6-4.7-dev 4.7.3-3<br>
<br>
Versions of packages clang-3.2 recommends:<br>
ii llvm-3.2-dev 1:3.2repack-2<br>
ii python 2.7.3-5<br>
<br>
clang-3.2 suggests no packages.<br>
<br>
-- no debconf information<br>
</blockquote></div><br></div>