public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/100259] New: ODR violations in <experimental/internet>
@ 2021-04-26 2:08 aaron at aarongraham dot com
2021-04-26 9:40 ` [Bug libstdc++/100259] " redi at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: aaron at aarongraham dot com @ 2021-04-26 2:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100259
Bug ID: 100259
Summary: ODR violations in <experimental/internet>
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: aaron at aarongraham dot com
Target Milestone: ---
Current implementation in <experimental/internet> has functions that violate
ODR:
std::experimental::net::ip::make_error_code
std::experimental::net::ip::make_error_condition
std::experimental::net::ip::make_network_v4
It seems these should be inline and/or constexpr. There are probably others.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/100259] ODR violations in <experimental/internet>
2021-04-26 2:08 [Bug libstdc++/100259] New: ODR violations in <experimental/internet> aaron at aarongraham dot com
@ 2021-04-26 9:40 ` redi at gcc dot gnu.org
2021-04-26 10:41 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2021-04-26 9:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100259
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-04-26
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Aaron Graham from comment #0)
> It seems these should be inline and/or constexpr.
They're not allowed to be constexpr, so have to be inline.
> There are probably others.
Almost certainly.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/100259] ODR violations in <experimental/internet>
2021-04-26 2:08 [Bug libstdc++/100259] New: ODR violations in <experimental/internet> aaron at aarongraham dot com
2021-04-26 9:40 ` [Bug libstdc++/100259] " redi at gcc dot gnu.org
@ 2021-04-26 10:41 ` cvs-commit at gcc dot gnu.org
2021-04-29 11:13 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-26 10:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100259
--- 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:3f4aa4579a6c03e0a0b0a6aec68aa5a301264d45
commit r12-120-g3f4aa4579a6c03e0a0b0a6aec68aa5a301264d45
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon Apr 26 11:37:38 2021 +0100
libstdc++: Add missing 'inline' specifiers to net::ip functions [PR 100259]
libstdc++-v3/ChangeLog:
PR libstdc++/100259
* include/experimental/internet (net::ip::make_error_code)
(net::ip::make_error_condition, net::ip::make_network_v4)
(net::ip::operator==(const udp&, const udp&)): Add 'inline'.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/100259] ODR violations in <experimental/internet>
2021-04-26 2:08 [Bug libstdc++/100259] New: ODR violations in <experimental/internet> aaron at aarongraham dot com
2021-04-26 9:40 ` [Bug libstdc++/100259] " redi at gcc dot gnu.org
2021-04-26 10:41 ` cvs-commit at gcc dot gnu.org
@ 2021-04-29 11:13 ` cvs-commit at gcc dot gnu.org
2021-04-29 11:13 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-29 11:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100259
--- Comment #3 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:4e54a34eed4f941cf09f27245bb3a5bfdb406a16
commit r11-8330-g4e54a34eed4f941cf09f27245bb3a5bfdb406a16
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon Apr 26 11:37:38 2021 +0100
libstdc++: Add missing 'inline' specifiers to net::ip functions [PR 100259]
libstdc++-v3/ChangeLog:
PR libstdc++/100259
* include/experimental/internet (net::ip::make_error_code)
(net::ip::make_error_condition, net::ip::make_network_v4)
(net::ip::operator==(const udp&, const udp&)): Add 'inline'.
(cherry picked from commit 3f4aa4579a6c03e0a0b0a6aec68aa5a301264d45)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/100259] ODR violations in <experimental/internet>
2021-04-26 2:08 [Bug libstdc++/100259] New: ODR violations in <experimental/internet> aaron at aarongraham dot com
` (2 preceding siblings ...)
2021-04-29 11:13 ` cvs-commit at gcc dot gnu.org
@ 2021-04-29 11:13 ` cvs-commit at gcc dot gnu.org
2021-04-29 11:14 ` cvs-commit at gcc dot gnu.org
2021-04-29 11:37 ` redi at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-29 11:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100259
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:
https://gcc.gnu.org/g:9b6fecd9e594c7342141c334644d3938c8e5fcdb
commit r10-9780-g9b6fecd9e594c7342141c334644d3938c8e5fcdb
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon Apr 26 11:37:38 2021 +0100
libstdc++: Add missing 'inline' specifiers to net::ip functions [PR 100259]
libstdc++-v3/ChangeLog:
PR libstdc++/100259
* include/experimental/internet (net::ip::make_error_code)
(net::ip::make_error_condition, net::ip::make_network_v4)
(net::ip::operator==(const udp&, const udp&)): Add 'inline'.
(cherry picked from commit 3f4aa4579a6c03e0a0b0a6aec68aa5a301264d45)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/100259] ODR violations in <experimental/internet>
2021-04-26 2:08 [Bug libstdc++/100259] New: ODR violations in <experimental/internet> aaron at aarongraham dot com
` (3 preceding siblings ...)
2021-04-29 11:13 ` cvs-commit at gcc dot gnu.org
@ 2021-04-29 11:14 ` cvs-commit at gcc dot gnu.org
2021-04-29 11:37 ` redi at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-29 11:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100259
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:
https://gcc.gnu.org/g:75d1d6841dd90649ea03cbe2ec43c3cfb27bebe8
commit r9-9475-g75d1d6841dd90649ea03cbe2ec43c3cfb27bebe8
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon Apr 26 11:37:38 2021 +0100
libstdc++: Add missing 'inline' specifiers to net::ip functions [PR 100259]
libstdc++-v3/ChangeLog:
PR libstdc++/100259
* include/experimental/internet (net::ip::make_error_code)
(net::ip::make_error_condition, net::ip::make_network_v4)
(net::ip::operator==(const udp&, const udp&)): Add 'inline'.
(cherry picked from commit 3f4aa4579a6c03e0a0b0a6aec68aa5a301264d45)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/100259] ODR violations in <experimental/internet>
2021-04-26 2:08 [Bug libstdc++/100259] New: ODR violations in <experimental/internet> aaron at aarongraham dot com
` (4 preceding siblings ...)
2021-04-29 11:14 ` cvs-commit at gcc dot gnu.org
@ 2021-04-29 11:37 ` redi at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2021-04-29 11:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100259
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |9.4
Status|NEW |RESOLVED
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for 9.4, 10.4, 11.2 and trunk (but the networking code is still largely
broken/useless on the old branches and only likely to get fixed on trunk).
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-04-29 11:37 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26 2:08 [Bug libstdc++/100259] New: ODR violations in <experimental/internet> aaron at aarongraham dot com
2021-04-26 9:40 ` [Bug libstdc++/100259] " redi at gcc dot gnu.org
2021-04-26 10:41 ` cvs-commit at gcc dot gnu.org
2021-04-29 11:13 ` cvs-commit at gcc dot gnu.org
2021-04-29 11:13 ` cvs-commit at gcc dot gnu.org
2021-04-29 11:14 ` cvs-commit at gcc dot gnu.org
2021-04-29 11:37 ` 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).