From owner-svn-ports-head@freebsd.org Sat Jan 6 14:19:00 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E900CEBB7C9; Sat, 6 Jan 2018 14:19:00 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD63370B1C; Sat, 6 Jan 2018 14:19:00 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 01F2D137BE; Sat, 6 Jan 2018 14:19:00 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w06EIxCG074455; Sat, 6 Jan 2018 14:18:59 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w06EIxu5074454; Sat, 6 Jan 2018 14:18:59 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201801061418.w06EIxu5074454@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 6 Jan 2018 14:18:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458273 - head/devel/libsigc++12/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/devel/libsigc++12/files X-SVN-Commit-Revision: 458273 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 14:19:01 -0000 Author: jbeich Date: Sat Jan 6 14:18:59 2018 New Revision: 458273 URL: https://svnweb.freebsd.org/changeset/ports/458273 Log: devel/libsigc++12: unbreak build with Clang 6 (C++14 by default) bind_test.cc:24:17: error: no viable conversion from '__bind, int>' to 'Slot0' Slot0 s=bind(slot(&foo),1); ^ ~~~~~~~~~~~~~~~~~~ ../sigc++/slot.h:207:7: note: candidate constructor not viable: no known conversion from '__bind, int>' to 'const SigC::Slot0 &' for 1st argument Slot0(const Slot0& s) ^ ../sigc++/slot.h:210:7: note: candidate constructor not viable: no known conversion from '__bind, int>' to 'SigC::SlotNode *' for 1st argument Slot0(SlotNode* node) ^ ../sigc++/slot.h:213:7: note: candidate constructor not viable: no known conversion from '__bind, int>' to 'SigC::Slot0::Callback' (aka 'void (*)()') for 1st argument Slot0(Callback callback) ^ Reported by: antoine (via bug 224669) Added: head/devel/libsigc++12/files/ head/devel/libsigc++12/files/patch-tests_bind__test.cc (contents, props changed) Added: head/devel/libsigc++12/files/patch-tests_bind__test.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libsigc++12/files/patch-tests_bind__test.cc Sat Jan 6 14:18:59 2018 (r458273) @@ -0,0 +1,30 @@ +libc++ doesn't like "using namespace std" in C++11 + +bind_test.cc:24:17: error: no viable conversion from '__bind, int>' to 'Slot0' + Slot0 s=bind(slot(&foo),1); + ^ ~~~~~~~~~~~~~~~~~~ +../sigc++/slot.h:207:7: note: candidate constructor not viable: no known conversion from '__bind, int>' to 'const SigC::Slot0 &' for 1st argument + Slot0(const Slot0& s) + ^ +../sigc++/slot.h:210:7: note: candidate constructor not viable: no known conversion from '__bind, int>' to 'SigC::SlotNode *' for 1st argument + Slot0(SlotNode* node) + ^ +../sigc++/slot.h:213:7: note: candidate constructor not viable: no known conversion from '__bind, int>' to 'SigC::Slot0::Callback' (aka 'void (*)()') for 1st argument + Slot0(Callback callback) + ^ + +--- tests/bind_test.cc.orig 2002-10-11 12:42:15 UTC ++++ tests/bind_test.cc +@@ -21,10 +21,10 @@ void foo2(A) { cout << "foo2(A)" <>test 1"< s=bind(slot(&foo),1); ++ Slot0 s=SigC::bind(slot(&foo),1); + s(); + cout << ">>test 2"<>test 3"<