libio.h conflicts with libio_.h

Ralf Corsepius ralf.corsepius at rtems.org
Sun Jun 18 06:32:24 UTC 2006


On Mon, 2006-06-12 at 13:19 +1100, Steven Johnson wrote:
> Hi,
> 
> libio.h does not have the usual "if cplusplus then extern everything as
> C" wrapper.  In my C++ program, this causes a breakage, because libio_.h
> does and so the declarations common to both files are incorrect, one is
> C++ mangled, the other is not.  The attached patch just wraps libio.h,
> like libio_.h is.
I've applied a modified version of this patch to CVS HEAD.

Thanks for the report.

Ralf






More information about the users mailing list