Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2018 08:24:35 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462205 - head/devel/qross/files
Message-ID:  <201802180824.w1I8OZoZ001630@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Feb 18 08:24:35 2018
New Revision: 462205
URL: https://svnweb.freebsd.org/changeset/ports/462205

Log:
  devel/qross, fix build with clang6

Added:
  head/devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx   (contents, props changed)

Added: head/devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/qross/files/patch-bindings_python_qrosspython_cxx_Objects.hxx	Sun Feb 18 08:24:35 2018	(r462205)
@@ -0,0 +1,16 @@
+In file included from bindings/python/qrosspython/cxx/cxxsupport.cxx:38:
+bindings/python/qrosspython/cxx/Objects.hxx:1081:15: 
+	error: cannot initialize a member subobject of type 'int' with an rvalue of type 'nullptr_t'
+            , offset( NULL )
+
+--- bindings/python/qrosspython/cxx/Objects.hxx.orig	2018-02-18 08:21:27 UTC
++++ bindings/python/qrosspython/cxx/Objects.hxx
+@@ -1078,7 +1078,7 @@ namespace Py
+         // TMM: added this seqref ctor for use with STL algorithms
+         seqref (Object& obj)
+             : s(dynamic_cast< SeqBase<T>&>(obj))
+-            , offset( NULL )
++            , offset( 0 )
+             , the_item(s.getItem(offset))
+         {}
+         ~seqref()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802180824.w1I8OZoZ001630>