From b1848fdeec705bc7d2f64e3a365f1ff66eeb4f0d Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Fri, 16 Nov 2012 18:56:31 +0530 Subject: Note in a comment that references to C++ bits are obsolete libio is not used by libstdc++ anymore, but there are references to streambuf are all over. --- libio/libioP.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libio/libioP.h') diff --git a/libio/libioP.h b/libio/libioP.h index a2800524ec..fe81115094 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -25,6 +25,14 @@ This exception applies to code released by its copyright holders in files containing the exception. */ +/* NOTE: libio is now exclusively used only by glibc since libstdc++ has its + own implementation. As a result, functions that were implemented for C++ + (like *sputn) may no longer have C++ semantics. This is of course only + relevant for internal callers of these functions since these functions are + not intended for external use otherwise. + + FIXME: All of the C++ cruft eventually needs to go away. */ + #include #ifndef __set_errno # define __set_errno(Val) errno = (Val) -- cgit v1.2.3