This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/16715] New: std::basic_iostream is instantiated when used, even though instantiations are already contained in libstdc++


Hi,

I'm writing a library that extends the stream classes. Since the standard
instantiations of the iostream templates are already contained in libstdc++,
I would expect these not to be incorporated into my library (i.e. marked
"extern" in some header file). This is true for std::istream and std::ostream
(and their wide counterparts), but not for std::iostream, which is
instantiated and placed in my library.

I believe that std::iostream and std::wiostream should be marked "extern".

   Simon

-- 
           Summary: std::basic_iostream is instantiated when used, even
                    though instantiations are already contained in libstdc++
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Simon dot Richter at hogyros dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16715


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]