r279514: buildworld failure: /usr/src/lib/libnv/tests/dnv_tests.cc:453:2: error: use of overloaded operator '<<' is ambiguous

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Mon, 2 Mar 2015 11:50:57 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Buildworld fails in CURRENT r279514 with the following error:

[...]

- --- sbin.all__D ---
- --- camcontrol.o ---
cc  -O2 -pipe -O3 -O3 -pipe -march=native  -std=gnu99 -fstack-protector
- -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
- -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
- -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
- -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
- -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations
- -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
- -Qunused-arguments -c /usr/src/sbin/camcontrol/camcontrol.c --- gnu.all__D
- --- /usr/src/gnu/usr.bin/rcs/lib/rcsrev.c:750:8: warning: add explicit braces
to avoid dangling else [-Wdangling-else] else { ^ --- lib.all__D
- --- /usr/src/lib/libnv/tests/dnv_tests.cc:453:2: error: use of overloaded
operator '<<' is ambiguous (with operand types 'basic_ostream<char,
std::__1::char_traits<char> >' and 'nullptr_t') ATF_REQUIRE_EQ(actual_val,
NULL); --- kerberos5.all__D
- --- /usr/src/kerberos5/usr.bin/ksu/../../../crypto/heimdal/appl/su/su.c:437:42:
warning: data argument not used by format string [-Wformat-extra-args] ---
lib.all__D ---
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/obj/usr/src/tmp/usr/include/atf-c++/macros.hpp:114:53:
note: expanded from macro 'ATF_REQUIRE_EQ' << " (" << (expected) << " != " <<
(actual) << ")"; \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJU9ECRAAoJEOgBcD7A/5N826IH/3i9l8z5ER6jqo34eco4Mh9M
FwtLr4vKMMNDIDE4DRF+3+71K+PpX0pOi1eVugDpR71Y7oTK6Ja8vKL2t7GzpA1J
yzkQNyzMgzrEDR8B4fqRCqBlssg+ZkZGVCQHUxr0iTJyTu3lcf4scU1ghn1rt954
Kk+PSNowyRAakCA1l3m9Q15IDdQTL6LBGX76OzQAJIECmCowKnKFnOw6vk14fdOG
EiDe9X0z74j79CUfAKWZgfOt4FqqVXKo+4SZmyF6R9oxcAqtqlwixV5nk8iFY47c
lv5WBPJXpNYZ5+0lj28BLojeY4dV32lq8BZepbvSZG013VvZDTZLIwlWB9wZEDc=
=5+8f
-----END PGP SIGNATURE-----
Received on Mon Mar 02 2015 - 09:53:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC