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

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


[ 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.


More information about the libbsd mailing list