2013/5/14 Sylvestre Ledru <sylves...@debian.org>: > Le 14/04/2013 18:51, Vedran Miletić a écrit : >> Package: llvm-toolchain-3.2 >> >> Version: 1:3.2repack-1~exp4 >> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/cwchar:45: >> /usr/include/wchar.h:39:11: fatal error: 'stdarg.h' file not found >> # include <stdarg.h> >> ^ >> 1 error generated. >> > I cannot reproduce your issue. > With clang 3.2repack-2+b1: > $ cat foo.cc > #include <stdarg.h> > $ clang++ -c foo.cc > > Works without any issue. > > Sylvestre >
No idea why, but I have started also getting these issues when building ns-3 recent clang-3.4 builds from llvm.org/apt Could you please try building ns-3.17 [1] yourself? The configuration line for clang is: $ CC="/usr/bin/clang" CXX="/usr/bin/clang++" CXXFLAGS="-Wno-deprecated" ./waf configure --enable-examples --enable-tests Again, I don't know why this happens, if it's a bug in ns-3 waf I wouldn't mind fixing it. Something changed in clang, that's for certain. The fact is that it worked with clang 3.0, clang 3.2 before the repack and clang 3.3 and 3.4 svn snapshots until 3 or 4 days ago. Regards, Vedran [1] https://www.nsnam.org/release/ns-allinone-3.17.tar.bz2 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org