[Bug libstdc++/89460] FAIL: experimental/net/headers.cc (test for excess errors)

2019-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89460

Jonathan Wakely  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |9.0

--- Comment #6 from Jonathan Wakely  ---
Should be fixed on trunk now.

[Bug libstdc++/89460] FAIL: experimental/net/headers.cc (test for excess errors)

2019-03-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89460

--- Comment #5 from Jonathan Wakely  ---
Author: redi
Date: Mon Mar 11 16:28:11 2019
New Revision: 269588

URL: https://gcc.gnu.org/viewcvs?rev=269588&root=gcc&view=rev
Log:
PR libstdc++/89460 Fix Networking TS test failures on HP-UX

Check for availability of POSIX sockatmark before using it.

Rename _S_ntoh overloads that are ambiguous when passed an integral type
that is neither uint16_t nor uint32_t.

PR libstdc++/89460
* configure.ac: Check for sockatmark.
* crossconfig.m4: Check for sockatmark.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/experimental/internet (address_v4::_S_hton): Rename
overloaded functions to _S_hton_16 and _S_ntoh_16.
(address_v4::_S_ntoh): Rename to _S_ntoh_16 and _S_ntoh_32.
(basic_endpoint): Adjust calls to _S_hton and _S_ntoh.
* include/experimental/socket (basic_socket::at_mark): Check
_GLIBCXX_HAVE_SOCKATMARK.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config.h.in
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/configure.ac
trunk/libstdc++-v3/crossconfig.m4
trunk/libstdc++-v3/include/experimental/internet
trunk/libstdc++-v3/include/experimental/socket

[Bug libstdc++/89460] FAIL: experimental/net/headers.cc (test for excess errors)

2019-03-06 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89460

--- Comment #4 from dave.anglin at bell dot net ---
On 2019-03-06 4:30 p.m., dave.anglin at bell dot net wrote:
> Could it be because I started trying to build with iconv support?
Nope, the fails were there before I made the build change.

[Bug libstdc++/89460] FAIL: experimental/net/headers.cc (test for excess errors)

2019-03-06 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89460

--- Comment #3 from dave.anglin at bell dot net ---
On 2019-03-06 4:20 p.m., redi at gcc dot gnu.org wrote:
> That's odd, because the code didn't change.
Could it be because I started trying to build with iconv support?

[Bug libstdc++/89460] FAIL: experimental/net/headers.cc (test for excess errors)

2019-03-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89460

--- Comment #2 from Jonathan Wakely  ---
That's odd, because the code didn't change.

I'll fix the sockatmark problem soonish though.

[Bug libstdc++/89460] FAIL: experimental/net/headers.cc (test for excess errors)

2019-03-06 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89460

--- Comment #1 from John David Anglin  ---
We also now have the following error in the test:

/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/experimental/internet:194:
error: call of overloaded '_S_ntoh(const in_addr_t&)' is ambiguous

Similar fails:
FAIL: experimental/net/internet/address/v4/comparisons.cc (test for excess
errors)
FAIL: experimental/net/internet/address/v4/creation.cc (test for excess errors)
FAIL: experimental/net/internet/address/v4/members.cc (test for excess errors)
FAIL: experimental/net/internet/resolver/base.cc (test for excess errors)
FAIL: experimental/net/internet/resolver/ops/lookup.cc (test for excess errors)
FAIL: experimental/net/internet/resolver/ops/reverse.cc (test for excess
errors)

[Bug libstdc++/89460] FAIL: experimental/net/headers.cc (test for excess errors)

2019-02-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89460

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2019-02-23
   Assignee|unassigned at gcc dot gnu.org  |redi at gcc dot gnu.org
 Ever confirmed|0   |1