From owner-svn-ports-all@freebsd.org Sun Aug 26 04:34:36 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0ABA810A1A8E; Sun, 26 Aug 2018 04:34:36 +0000 (UTC) (envelope-from tobik@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 AB994702A9; Sun, 26 Aug 2018 04:34:35 +0000 (UTC) (envelope-from tobik@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 8C9EE1D7A; Sun, 26 Aug 2018 04:34:35 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7Q4YZpK080735; Sun, 26 Aug 2018 04:34:35 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7Q4YZcc080733; Sun, 26 Aug 2018 04:34:35 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808260434.w7Q4YZcc080733@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 26 Aug 2018 04:34:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478098 - head/devel/ccdoc/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/devel/ccdoc/files X-SVN-Commit-Revision: 478098 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2018 04:34:36 -0000 Author: tobik Date: Sun Aug 26 04:34:34 2018 New Revision: 478098 URL: https://svnweb.freebsd.org/changeset/ports/478098 Log: devel/ccdoc: Fix build with Clang 6 log.cc:236:8: error: invalid operands to binary expression ('std::__1::ostream' (aka 'basic_ostream') and 'std::__1::ostream') (*os) << fct( *os ); ~~~~~ ^ ~~~~~~~~~~ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/ccdoc-0.8r41.log Added: head/devel/ccdoc/files/patch-log.cc (contents, props changed) head/devel/ccdoc/files/patch-log.h (contents, props changed) Added: head/devel/ccdoc/files/patch-log.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ccdoc/files/patch-log.cc Sun Aug 26 04:34:34 2018 (r478098) @@ -0,0 +1,29 @@ +log.cc:236:8: error: invalid operands to binary expression ('std::__1::ostream' (aka 'basic_ostream') and 'std::__1::ostream') + (*os) << fct( *os ); + ~~~~~ ^ ~~~~~~~~~~ + +Never used + +--- log.cc.orig 2018-08-26 04:28:55 UTC ++++ log.cc +@@ -225,20 +225,6 @@ ccdoc::log& ccdoc::log::operator << (const vector::iterator i = m_os.begin(); +- for( ; i!=m_os.end(); ++i) { +- ostream* os = *i; +- if(os) +- (*os) << fct( *os ); +- } +- } +- return *this; +-} +-// ================================================================ + // Warning + // ================================================================ + ccdoc::log& ccdoc::log::warning() { Added: head/devel/ccdoc/files/patch-log.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ccdoc/files/patch-log.h Sun Aug 26 04:34:34 2018 (r478098) @@ -0,0 +1,10 @@ +--- log.h.orig 2018-08-26 04:31:27 UTC ++++ log.h +@@ -69,7 +69,6 @@ namespace ccdoc { + log& operator << (unsigned int); + log& operator << (long); + log& operator << (unsigned long); +- log& operator << (ostream& (fct)(ostream&)); + log& operator << (log& x) {return x;} + log& flush(); + void insert(ostream*);