compile error when including stdio.h in C++ code

Guillem Jover guillem at hadrons.org
Sat Jun 16 07:02:23 PDT 2012


Hi!

[ Erm, sorry about the slight delay, just rescued this from the
  pending moderation queue... ]

On Fri, 2011-08-19 at 21:54:57 -0700, Khem Raj wrote:
> I am seeing compilation failures like below on latest master
> 
> $ /usr/bin/g++ a.cpp -c -isystem /tmp/usr/include/bsd/ -DLIBBSD_OVERLAY
> In file included from /usr/include/c++/4.5/fstream:43:0,
>                  from a.cpp:1:
[...]

> here is testcase
> 
> $ cat a.cpp
> #include <fstream>

This was fixed with libbsd 0.4.x.

thanks,
guillem


More information about the libbsd mailing list