public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/99058] New: Consider adding a note about std::optional ABI break to the C++17 status table
@ 2021-02-10 13:07 bspencer at blackberry dot com
  2021-02-10 18:49 ` [Bug libstdc++/99058] " redi at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bspencer at blackberry dot com @ 2021-02-10 13:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99058
           Summary: Consider adding a note about std::optional ABI break
                    to the C++17 status table
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bspencer at blackberry dot com
  Target Milestone: ---

In this table

https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2017

the row labelled "Library Fundamentals V1 TS Components: optional" says it's
supported since "7.1" and references Note 1, but there's no mention of the ABI
break between 7.x and 8.x.

Perhaps I was misusing this table, but I interpreted "supported since 7.1" to
mean that if I compile against 7.1 headers, my code will remain ABI compatible
against future versions of the library _and_ other code compiled against future
versions of the headers.  This ABI break caught me by surprise, and even though
these versions are older now, it seems worthwhile to at least mention the break
in a note to help others.

BTW, this particular example also happens to come up as a question in Marshall
Clow's recent talk on the topic of standard library ABIs.  See
https://youtu.be/7RoTDjLLXJQ?t=3191

Thanks.

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

end of thread, other threads:[~2021-04-19  9:08 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-10 13:07 [Bug libstdc++/99058] New: Consider adding a note about std::optional ABI break to the C++17 status table bspencer at blackberry dot com
2021-02-10 18:49 ` [Bug libstdc++/99058] " redi at gcc dot gnu.org
2021-02-10 18:49 ` redi at gcc dot gnu.org
2021-02-10 19:44 ` bspencer at blackberry dot com
2021-02-10 21:58 ` redi at gcc dot gnu.org
2021-02-10 22:06 ` redi at gcc dot gnu.org
2021-02-10 22:17 ` redi at gcc dot gnu.org
2021-02-10 22:19 ` redi at gcc dot gnu.org
2021-02-11 13:45 ` bspencer at blackberry dot com
2021-02-11 17:28 ` cvs-commit at gcc dot gnu.org
2021-02-12 14:49 ` redi at gcc dot gnu.org
2021-03-29 20:02 ` cvs-commit at gcc dot gnu.org
2021-04-19  9:05 ` cvs-commit at gcc dot gnu.org
2021-04-19  9:08 ` cvs-commit at gcc dot gnu.org
2021-04-19  9:08 ` 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).