public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105284] New: missing syncstream and spanstream forward decl. in <iosfwd>
@ 2022-04-15  9:13 cooky.ykooc922 at gmail dot com
  2022-04-15 13:47 ` [Bug libstdc++/105284] " redi at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: cooky.ykooc922 at gmail dot com @ 2022-04-15  9:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105284

            Bug ID: 105284
           Summary: missing syncstream and spanstream forward decl. in
                    <iosfwd>
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: cooky.ykooc922 at gmail dot com
  Target Milestone: ---

according to https://wg21.link/iosfwd.syn's <iosfwd> sypnosis:

The followings are declared (forward declaration only) which are added in C++20
and C++23:

* class template std::basic_spanbuf
* typedef std:spanbuf
* typedef std::wspanbuf
* class template std::basic_ispanstream
* typedef std::ispanstream
* typedef std::wispanstream
* class template std::basic_ospanstream
* typedef std::ospanstream
* typedef std::wospanstream
* class template std::basic_spanstream
* typedef std::spanstream
* typedef std::wspanstream
* class template std::basic_syncbuf
* typedef std::syncbuf
* typedef std::wsyncbuf
* class template std::basic_osyncstream
* typedef std::osyncstream
* typedef std::wosyncstream

However, they are currently not added in the current header <iosfwd> of
libstdc++

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

* [Bug libstdc++/105284] missing syncstream and spanstream forward decl. in <iosfwd>
  2022-04-15  9:13 [Bug c++/105284] New: missing syncstream and spanstream forward decl. in <iosfwd> cooky.ykooc922 at gmail dot com
@ 2022-04-15 13:47 ` redi at gcc dot gnu.org
  2022-05-06  8:33 ` jakub at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: redi at gcc dot gnu.org @ 2022-04-15 13:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105284

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-04-15
     Ever confirmed|0                           |1
   Target Milestone|---                         |12.0

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

* [Bug libstdc++/105284] missing syncstream and spanstream forward decl. in <iosfwd>
  2022-04-15  9:13 [Bug c++/105284] New: missing syncstream and spanstream forward decl. in <iosfwd> cooky.ykooc922 at gmail dot com
  2022-04-15 13:47 ` [Bug libstdc++/105284] " redi at gcc dot gnu.org
@ 2022-05-06  8:33 ` jakub at gcc dot gnu.org
  2022-05-10 15:40 ` cvs-commit at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-05-06  8:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105284

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.0                        |12.2

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 12.1 is being released, retargeting bugs to GCC 12.2.

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

* [Bug libstdc++/105284] missing syncstream and spanstream forward decl. in <iosfwd>
  2022-04-15  9:13 [Bug c++/105284] New: missing syncstream and spanstream forward decl. in <iosfwd> cooky.ykooc922 at gmail dot com
  2022-04-15 13:47 ` [Bug libstdc++/105284] " redi at gcc dot gnu.org
  2022-05-06  8:33 ` jakub at gcc dot gnu.org
@ 2022-05-10 15:40 ` cvs-commit at gcc dot gnu.org
  2022-05-10 15:40 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-05-10 15:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105284

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:1807e07825a86916bbfddca470708c5a8f613612

commit r13-270-g1807e07825a86916bbfddca470708c5a8f613612
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue May 10 13:03:14 2022 +0100

    libstdc++: Add <syncstream> declarations to <iosfwd> [PR105284]

    libstdc++-v3/ChangeLog:

            PR libstdc++/105284
            * include/std/iosfwd: Add declarations for <synstream> class
            templates and typedefs.
            * include/std/syncstream (basic_syncbuf, basic_osyncstream):
            Remove default template arguments.
            * testsuite/27_io/headers/iosfwd/synopsis.cc: New test.
            * testsuite/27_io/headers/iosfwd/types.cc: New test.

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

* [Bug libstdc++/105284] missing syncstream and spanstream forward decl. in <iosfwd>
  2022-04-15  9:13 [Bug c++/105284] New: missing syncstream and spanstream forward decl. in <iosfwd> cooky.ykooc922 at gmail dot com
                   ` (2 preceding siblings ...)
  2022-05-10 15:40 ` cvs-commit at gcc dot gnu.org
@ 2022-05-10 15:40 ` cvs-commit at gcc dot gnu.org
  2022-05-10 15:45 ` redi at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-05-10 15:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105284

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:ca97c87758d450a946cac31b0db43da0039fabf1

commit r13-271-gca97c87758d450a946cac31b0db43da0039fabf1
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue May 10 13:06:47 2022 +0100

    libstdc++: Add <spanstream> declarations to <iosfwd> [PR105284]

    libstdc++-v3/ChangeLog:

            PR libstdc++/105284
            * include/std/iosfwd: Add declarations for <spanstream> class
            templates and typedefs.
            * include/std/spanstream (basic_spanbuf, basic_ispanstream)
            (basic_ospanstream, basic_spanstream): Remove default template
            arguments.
            * testsuite/27_io/headers/iosfwd/synopsis.cc: Add <spanstream>
            declarations.
            * testsuite/27_io/headers/iosfwd/types.cc: Check <spanstream>
            default arguments.

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

* [Bug libstdc++/105284] missing syncstream and spanstream forward decl. in <iosfwd>
  2022-04-15  9:13 [Bug c++/105284] New: missing syncstream and spanstream forward decl. in <iosfwd> cooky.ykooc922 at gmail dot com
                   ` (3 preceding siblings ...)
  2022-05-10 15:40 ` cvs-commit at gcc dot gnu.org
@ 2022-05-10 15:45 ` redi at gcc dot gnu.org
  2022-05-10 17:25 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: redi at gcc dot gnu.org @ 2022-05-10 15:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105284

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on trunk, backports to follow.

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

* [Bug libstdc++/105284] missing syncstream and spanstream forward decl. in <iosfwd>
  2022-04-15  9:13 [Bug c++/105284] New: missing syncstream and spanstream forward decl. in <iosfwd> cooky.ykooc922 at gmail dot com
                   ` (4 preceding siblings ...)
  2022-05-10 15:45 ` redi at gcc dot gnu.org
@ 2022-05-10 17:25 ` cvs-commit at gcc dot gnu.org
  2022-05-10 17:25 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-05-10 17:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105284

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:

https://gcc.gnu.org/g:3e6067bdcab5f677526d80325b9b8dc03f49024d

commit r12-8364-g3e6067bdcab5f677526d80325b9b8dc03f49024d
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue May 10 13:03:14 2022 +0100

    libstdc++: Add <syncstream> declarations to <iosfwd> [PR105284]

    libstdc++-v3/ChangeLog:

            PR libstdc++/105284
            * include/std/iosfwd: Add declarations for <synstream> class
            templates and typedefs.
            * include/std/syncstream (basic_syncbuf, basic_osyncstream):
            Remove default template arguments.
            * testsuite/27_io/headers/iosfwd/synopsis.cc: New test.
            * testsuite/27_io/headers/iosfwd/types.cc: New test.

    (cherry picked from commit 1807e07825a86916bbfddca470708c5a8f613612)

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

* [Bug libstdc++/105284] missing syncstream and spanstream forward decl. in <iosfwd>
  2022-04-15  9:13 [Bug c++/105284] New: missing syncstream and spanstream forward decl. in <iosfwd> cooky.ykooc922 at gmail dot com
                   ` (5 preceding siblings ...)
  2022-05-10 17:25 ` cvs-commit at gcc dot gnu.org
@ 2022-05-10 17:25 ` cvs-commit at gcc dot gnu.org
  2022-05-10 19:35 ` cvs-commit at gcc dot gnu.org
  2022-05-10 19:35 ` redi at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-05-10 17:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105284

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:

https://gcc.gnu.org/g:cc93971399ad9719b5bda878630e69c5914f2202

commit r12-8365-gcc93971399ad9719b5bda878630e69c5914f2202
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue May 10 13:06:47 2022 +0100

    libstdc++: Add <spanstream> declarations to <iosfwd> [PR105284]

    libstdc++-v3/ChangeLog:

            PR libstdc++/105284
            * include/std/iosfwd: Add declarations for <spanstream> class
            templates and typedefs.
            * include/std/spanstream (basic_spanbuf, basic_ispanstream)
            (basic_ospanstream, basic_spanstream): Remove default template
            arguments.
            * testsuite/27_io/headers/iosfwd/synopsis.cc: Add <spanstream>
            declarations.
            * testsuite/27_io/headers/iosfwd/types.cc: Check <spanstream>
            default arguments.

    (cherry picked from commit ca97c87758d450a946cac31b0db43da0039fabf1)

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

* [Bug libstdc++/105284] missing syncstream and spanstream forward decl. in <iosfwd>
  2022-04-15  9:13 [Bug c++/105284] New: missing syncstream and spanstream forward decl. in <iosfwd> cooky.ykooc922 at gmail dot com
                   ` (6 preceding siblings ...)
  2022-05-10 17:25 ` cvs-commit at gcc dot gnu.org
@ 2022-05-10 19:35 ` cvs-commit at gcc dot gnu.org
  2022-05-10 19:35 ` redi at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-05-10 19:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105284

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:

https://gcc.gnu.org/g:1572e41d759950e7699d14779aae49b892f12f8b

commit r11-9977-g1572e41d759950e7699d14779aae49b892f12f8b
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue May 10 13:03:14 2022 +0100

    libstdc++: Add <syncstream> declarations to <iosfwd> [PR105284]

    libstdc++-v3/ChangeLog:

            PR libstdc++/105284
            * include/std/iosfwd: Add declarations for <synstream> class
            templates and typedefs.
            * include/std/syncstream (basic_syncbuf, basic_osyncstream):
            Remove default template arguments.
            * testsuite/27_io/headers/iosfwd/synopsis.cc: New test.
            * testsuite/27_io/headers/iosfwd/types.cc: New test.

    (cherry picked from commit 1807e07825a86916bbfddca470708c5a8f613612)

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

* [Bug libstdc++/105284] missing syncstream and spanstream forward decl. in <iosfwd>
  2022-04-15  9:13 [Bug c++/105284] New: missing syncstream and spanstream forward decl. in <iosfwd> cooky.ykooc922 at gmail dot com
                   ` (7 preceding siblings ...)
  2022-05-10 19:35 ` cvs-commit at gcc dot gnu.org
@ 2022-05-10 19:35 ` redi at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: redi at gcc dot gnu.org @ 2022-05-10 19:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105284

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|12.2                        |11.4
         Resolution|---                         |FIXED

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for 11.4 and 12.2, thanks for the report.

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

end of thread, other threads:[~2022-05-10 19:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-15  9:13 [Bug c++/105284] New: missing syncstream and spanstream forward decl. in <iosfwd> cooky.ykooc922 at gmail dot com
2022-04-15 13:47 ` [Bug libstdc++/105284] " redi at gcc dot gnu.org
2022-05-06  8:33 ` jakub at gcc dot gnu.org
2022-05-10 15:40 ` cvs-commit at gcc dot gnu.org
2022-05-10 15:40 ` cvs-commit at gcc dot gnu.org
2022-05-10 15:45 ` redi at gcc dot gnu.org
2022-05-10 17:25 ` cvs-commit at gcc dot gnu.org
2022-05-10 17:25 ` cvs-commit at gcc dot gnu.org
2022-05-10 19:35 ` cvs-commit at gcc dot gnu.org
2022-05-10 19:35 ` redi at gcc dot gnu.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).