Date: Wed, 2 Oct 2013 09:13:43 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329025 - head/devel/ptlib/files Message-ID: <201310020913.r929DhTc027473@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Wed Oct 2 09:13:42 2013 New Revision: 329025 URL: http://svnweb.freebsd.org/changeset/ports/329025 Log: devel/ptlib: Fix -fpermissive c++ errors on modern compilers Approved by: portmgr (bapt, implicit) Added: head/devel/ptlib/files/patch-include_ptlib_array.h (contents, props changed) Added: head/devel/ptlib/files/patch-include_ptlib_array.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ptlib/files/patch-include_ptlib_array.h Wed Oct 2 09:13:42 2013 (r329025) @@ -0,0 +1,29 @@ +--- include/ptlib/array.h.orig 2009-01-11 22:53:14.000000000 +0000 ++++ include/ptlib/array.h +@@ -523,7 +523,7 @@ template <class T> class PScalarArray : + T t; + stream >> t; + if (!stream.fail()) +- SetAt(index, t); ++ this->SetAt(index, t); + } + }; + +@@ -1221,7 +1221,7 @@ class PBitArray : public PBYTEArray + */ + PBitArray & operator+=( + PINDEX index ///< Position on the array to get value from. +- ) { SetAt(index, PTrue); return *this; } ++ ) { this->SetAt(index, PTrue); return *this; } + + /**Set a bit to the array. + +@@ -1230,7 +1230,7 @@ class PBitArray : public PBYTEArray + */ + PBitArray & operator-=( + PINDEX index ///< Position on the array to get value from. +- ) { SetAt(index, PFalse); return *this; } ++ ) { this->SetAt(index, PFalse); return *this; } + + /**Concatenate one array to the end of this array. + This function will allocate a new array large enough for the existing
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310020913.r929DhTc027473>