libio.h conflicts with libio_.h

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


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.

Steven J
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtems-4.6.99.3-c-linkage-fix.patch
Type: text/x-patch
Size: 772 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20060612/91ec1b02/attachment.bin>


More information about the users mailing list