public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12766] New: Backward compatibility header file strstream.h is missing
@ 2003-10-24 18:03 larssj at nospam dot dk
  2003-10-24 19:09 ` [Bug libstdc++/12766] " bangerth at dealii dot org
  2003-10-24 23:16 ` paolo at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: larssj at nospam dot dk @ 2003-10-24 18:03 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Backward compatibility header file strstream.h is
                    missing
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: larssj at nospam dot dk
                CC: gcc-bugs at gcc dot gnu dot org

In Bug 9925 the warning say  "use <sstream> instead of the deprecated header
<strstream.h>"

But in 3.3.x and 3.4 the is only 'backward/strstream' but not 'backward/strstream.h'

Old C++ code expect 'strstream.h' and 'strstream'.

Take a look at gcc-3.2.3 and before that
-rw-r--r--    1 root     root         5671 2003-10-12 09:35 strstream
-rw-r--r--    1 root     root         1573 2003-10-12 09:35 strstream.h
-rw-r--r--    1 root     root         3023 2003-10-12 09:35 tempbuf.h

And here is the code of part of strstream.h

#ifndef _CPP_BACKWARD_STRSTREAM_H
#define _CPP_BACKWARD_STRSTREAM_H 1
 
#include "strstream"
 
using std::strstreambuf;
using std::istrstream;
using std::ostrstream;
using std::strstream;
 
#endif

Please add the missing backward/strstream.h from gcc-3.2.3 line.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/12766] Backward compatibility header file strstream.h is missing
  2003-10-24 18:03 [Bug c++/12766] New: Backward compatibility header file strstream.h is missing larssj at nospam dot dk
@ 2003-10-24 19:09 ` bangerth at dealii dot org
  2003-10-24 23:16 ` paolo at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: bangerth at dealii dot org @ 2003-10-24 19:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |libstdc++
            Summary|Backward compatibility      |Backward compatibility
                   |header file strstream.h is  |header file strstream.h is
                   |missing                     |missing


------- Additional Comments From bangerth at dealii dot org  2003-10-24 19:04 -------
That's something for the libstdc++ people, so change component.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/12766] Backward compatibility header file strstream.h is missing
  2003-10-24 18:03 [Bug c++/12766] New: Backward compatibility header file strstream.h is missing larssj at nospam dot dk
  2003-10-24 19:09 ` [Bug libstdc++/12766] " bangerth at dealii dot org
@ 2003-10-24 23:16 ` paolo at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: paolo at gcc dot gnu dot org @ 2003-10-24 23:16 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


paolo at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From paolo at gcc dot gnu dot org  2003-10-24 23:13 -------
Not a bug: libstdc++-v3 closely tracks the standard, which, in D7, mentions only
the (deprecated) header <strstream>, not <strstream.h>. The latter was removed
for a cause!

As regards the wrong warning message, its already fixed for 3.4.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-24 23:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-24 18:03 [Bug c++/12766] New: Backward compatibility header file strstream.h is missing larssj at nospam dot dk
2003-10-24 19:09 ` [Bug libstdc++/12766] " bangerth at dealii dot org
2003-10-24 23:16 ` paolo at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).