From owner-svn-ports-all@freebsd.org Sat Jan 6 04:14:07 2018 Return-Path: Delivered-To: svn-ports-all@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 60897EB77F7; Sat, 6 Jan 2018 04:14:07 +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 3A2F2710B0; Sat, 6 Jan 2018 04:14:07 +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 8A682A6F7; Sat, 6 Jan 2018 04:14:06 +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 w064E69j067662; Sat, 6 Jan 2018 04:14:06 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w064E6ng067661; Sat, 6 Jan 2018 04:14:06 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201801060414.w064E6ng067661@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 04:14:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r458192 - branches/2018Q1/textproc/exempi/files X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: branches/2018Q1/textproc/exempi/files X-SVN-Commit-Revision: 458192 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.25 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: Sat, 06 Jan 2018 04:14:07 -0000 Author: jbeich Date: Sat Jan 6 04:14:06 2018 New Revision: 458192 URL: https://svnweb.freebsd.org/changeset/ports/458192 Log: MFH: r458191 textproc/exempi: unbreak build with Clang 6 (C++14 by default) In file included from MP3_Handler.cpp:11: In file included from ./MP3_Handler.hpp:15: ./../FormatSupport/ID3_Support.hpp:703:81: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') if ( meta->GetLocalizedText( kXMP_NS_DC, "title", "", "x-default", 0, &utf8, kXMP_NoOptions )) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:1232:28: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ In file included from MP3_Handler.cpp:11: In file included from ./MP3_Handler.hpp:15: ./../FormatSupport/ID3_Support.hpp:710:57: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') if ( meta->GetProperty( kXMP_NS_DM, "artist", &utf8, kXMP_NoOptions )) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ In file included from MP3_Handler.cpp:11: In file included from ./MP3_Handler.hpp:15: ./../FormatSupport/ID3_Support.hpp:717:56: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') if ( meta->GetProperty( kXMP_NS_DM, "album", &utf8, kXMP_NoOptions )) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ In file included from MP3_Handler.cpp:11: In file included from ./MP3_Handler.hpp:15: ./../FormatSupport/ID3_Support.hpp:724:62: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') if ( meta->GetProperty( kXMP_NS_XMP, "CreateDate", &utf8, kXMP_NoOptions )) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ In file included from MP3_Handler.cpp:11: In file included from ./MP3_Handler.hpp:15: ./../FormatSupport/ID3_Support.hpp:736:61: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') if ( meta->GetProperty( kXMP_NS_DM, "logComment", &utf8, kXMP_NoOptions )) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ In file included from MP3_Handler.cpp:11: In file included from ./MP3_Handler.hpp:15: ./../FormatSupport/ID3_Support.hpp:743:56: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') if ( meta->GetProperty( kXMP_NS_DM, "genre", &utf8, kXMP_NoOptions )) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ In file included from MP3_Handler.cpp:11: In file included from ./MP3_Handler.hpp:15: ./../FormatSupport/ID3_Support.hpp:763:62: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') if ( meta->GetProperty( kXMP_NS_DM, "trackNumber", &utf8, kXMP_NoOptions )) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ RIFF_Support.cpp:607:79: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') ...( xmp->GetProperty( bextCodingHistory.ns, bextCodingHistory.prop, &value, kXMP_NoOptions )) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ RIFF_Support.cpp:619:75: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') if ( xmp->GetProperty( bextDescription.ns, bextDescription.prop, &value, kXMP_NoOptions ) ) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ RIFF_Support.cpp:626:74: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') if ( xmp->GetProperty( bextOriginator.ns , bextOriginator.prop, &value, kXMP_NoOptions ) ) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ RIFF_Support.cpp:633:80: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') ...( xmp->GetProperty( bextOriginatorRef.ns , bextOriginatorRef.prop, &value, kXMP_NoOptions ) ) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ RIFF_Support.cpp:640:84: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') ...bextOriginationDate.ns , bextOriginationDate.prop, &value, kXMP_NoOptions ) ) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ RIFF_Support.cpp:647:84: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') ...bextOriginationTime.ns , bextOriginationTime.prop, &value, kXMP_NoOptions ) ) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ RIFF_Support.cpp:655:79: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') ...( xmp->GetProperty( bextTimeReference.ns, bextTimeReference.prop, &value, kXMP_NoOptions ) ) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ RIFF_Support.cpp:678:61: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') if ( xmp->GetProperty( bextUMID.ns, bextUMID.prop, &value, kXMP_NoOptions ) ) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ RIFF_Support.cpp:697:79: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int') ...( xmp->GetProperty( bextCodingHistory.ns, bextCodingHistory.prop, &value, kXMP_NoOptions ) ) ^~~~~~~~~~~~~~ ../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions' #define kXMP_NoOptions ((XMP_OptionBits)0UL) ^~~~~~~~~~~~~~~~~~~~~ ../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here XMP_OptionBits * options ) const; ^ Reported by: antoine (via bug 224669) Obtained from: upstream (exempi 2.4.0) Approved by: ports-secteam blanket Added: branches/2018Q1/textproc/exempi/files/ - copied from r458191, head/textproc/exempi/files/ Modified: Directory Properties: branches/2018Q1/ (props changed)