libio.h conflicts with libio_.h

Steven Johnson sjohnson at
Mon Jun 12 02:19:21 UTC 2006


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.

Steven J
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtems-
Type: text/x-patch
Size: 772 bytes
Desc: not available
URL: <>

More information about the users mailing list