[Bug libstdc++/100259] New: ODR violations in <experimental/internet>

aaron at aarongraham dot com gcc-bugzilla@gcc.gnu.org
Mon Apr 26 02:08:42 GMT 2021


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.


More information about the Gcc-bugs mailing list