; size_t = long unsigned int]':
../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]'
../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]'
../include/Dtd.h:165:51: required from here
../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder]
size_t size_;
^~~~~
In file included from ../include/Vector.h:77,
from ../include/Location.h:15,
from ../include/Event.h:12,
from DtdDeclEventHandler.h:8,
from DtdDeclEventHandler.cxx:5:
../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder]
Vector::Vector(size_t n, const T &t)
^~~~~~~~~
In file included from ../include/Location.h:15,
from ../include/Event.h:12,
from DtdDeclEventHandler.h:8,
from DtdDeclEventHandler.cxx:5:
../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]':
../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]'
../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]'
../include/Dtd.h:279:36: required from here
../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder]
size_t size_;
^~~~~
In file included from ../include/Vector.h:77,
from ../include/Location.h:15,
from ../include/Event.h:12,
from DtdDeclEventHandler.h:8,
from DtdDeclEventHandler.cxx:5:
../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder]
Vector::Vector(size_t n, const T &t)
^~~~~~~~~
../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]':
../include/Vector.cxx:62:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]'
../include/PointerTable.cxx:32:5: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]'
../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]'
../include/Dtd.h:165:51: required from here
../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/Location.h:12,
from ../include/Event.h:12,
from DtdDeclEventHandler.h:8,
from DtdDeclEventHandler.cxx:5:
../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here
class Ptr {
^~~
In file included from ../include/Vector.h:77,
from ../include/Location.h:15,
from ../include/Event.h:12,
from DtdDeclEventHandler.h:8,
from DtdDeclEventHandler.cxx:5:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]':
../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]'
../include/PointerTable.cxx:32:5: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]'
../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]'
../include/Dtd.h:165:51: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/Location.h:12,
from ../include/Event.h:12,
from DtdDeclEventHandler.h:8,
from DtdDeclEventHandler.cxx:5:
../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here
class Ptr {
^~~
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o EUCJPCodingSystem.lo EUCJPCodingSystem.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c EUCJPCodingSystem.cxx -fPIC -DPIC -o .libs/EUCJPCodingSystem.o
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o CharsetRegistry.lo CharsetRegistry.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c CharsetRegistry.cxx -fPIC -DPIC -o .libs/CharsetRegistry.o
CharsetRegistry.cxx: In member function 'virtual OpenSP::Boolean OpenSP::CharsetRegistryDescIter::next(OpenSP::WideChar&, OpenSP::WideChar&, OpenSP::UnivChar&)':
CharsetRegistry.cxx:56:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
for (; i < n_; i++)
~~^~~~
In file included from ../include/RangeMap.h:7,
from ../include/UnivCharsetDesc.h:14,
from ../include/CharsetInfo.h:11,
from ../include/CharsetRegistry.h:13,
from CharsetRegistry.cxx:8:
../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]':
../include/RangeMap.h:27:7: required from here
../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder]
size_t size_;
^~~~~
In file included from ../include/Vector.h:77,
from ../include/RangeMap.h:7,
from ../include/UnivCharsetDesc.h:14,
from ../include/CharsetInfo.h:11,
from ../include/CharsetRegistry.h:13,
from CharsetRegistry.cxx:8:
../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder]
Vector::Vector(const Vector &v)
^~~~~~~~~
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o CodingSystemKit.lo CodingSystemKit.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c CodingSystemKit.cxx -fPIC -DPIC -o .libs/CodingSystemKit.o
In file included from ../include/TranslateCodingSystem.h:8,
from CodingSystemKit.cxx:10:
../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::isNull;
^~~~~~
../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::clear;
^~~~~~
CodingSystemKit.cxx: In constructor 'OpenSP::CodingSystemKitImpl::CodingSystemKitImpl(const OpenSP::TranslateCodingSystem::Desc*)':
CodingSystemKit.cxx:129:38: warning: 'OpenSP::CodingSystemKitImpl::systemCharsetDesc_' will be initialized after [-Wreorder]
const TranslateCodingSystem::Desc *systemCharsetDesc_;
^~~~~~~~~~~~~~~~~~
CodingSystemKit.cxx:103:19: warning: 'OpenSP::XMLCodingSystem OpenSP::CodingSystemKitImpl::xmlCodingSystem_' [-Wreorder]
XMLCodingSystem xmlCodingSystem_;
^~~~~~~~~~~~~~~~
CodingSystemKit.cxx:329:1: warning: when initialized here [-Wreorder]
CodingSystemKitImpl::CodingSystemKitImpl(const TranslateCodingSystem::Desc *systemCharsetDesc)
^~~~~~~~~~~~~~~~~~~
CodingSystemKit.cxx:121:25: warning: 'OpenSP::CodingSystemKitImpl::koi8_rCodingSystem_' will be initialized after [-Wreorder]
TranslateCodingSystem koi8_rCodingSystem_;
^~~~~~~~~~~~~~~~~~~
CodingSystemKit.cxx:107:25: warning: 'OpenSP::TranslateCodingSystem OpenSP::CodingSystemKitImpl::eucjpCodingSystem_' [-Wreorder]
TranslateCodingSystem eucjpCodingSystem_;
^~~~~~~~~~~~~~~~~~
CodingSystemKit.cxx:329:1: warning: when initialized here [-Wreorder]
CodingSystemKitImpl::CodingSystemKitImpl(const TranslateCodingSystem::Desc *systemCharsetDesc)
^~~~~~~~~~~~~~~~~~~
In file included from ../include/RangeMap.h:7,
from ../include/UnivCharsetDesc.h:14,
from ../include/CharsetInfo.h:11,
from ../include/CodingSystemKit.h:15,
from CodingSystemKit.cxx:9:
../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]':
../include/RangeMap.h:27:7: required from here
../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder]
size_t size_;
^~~~~
In file included from ../include/Vector.h:77,
from ../include/RangeMap.h:7,
from ../include/UnivCharsetDesc.h:14,
from ../include/CharsetInfo.h:11,
from ../include/CodingSystemKit.h:15,
from CodingSystemKit.cxx:9:
../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder]
Vector::Vector(const Vector &v)
^~~~~~~~~
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o CharsetDecl.lo CharsetDecl.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c CharsetDecl.cxx -fPIC -DPIC -o .libs/CharsetDecl.o
In file included from ../include/Location.h:12,
from ../include/Text.h:13,
from ../include/ExternalId.h:12,
from ../include/CharsetDecl.h:12,
from CharsetDecl.cxx:8:
../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::isNull;
^~~~~~
../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::clear;
^~~~~~
In file included from CharsetDecl.cxx:8:
../include/CharsetDecl.h: In constructor 'OpenSP::CharsetDeclRange::CharsetDeclRange(OpenSP::WideChar, OpenSP::Number, OpenSP::WideChar)':
../include/CharsetDecl.h:46:8: warning: 'OpenSP::CharsetDeclRange::type_' will be initialized after [-Wreorder]
Type type_;
^~~~~
../include/CharsetDecl.h:45:12: warning: 'OpenSP::WideChar OpenSP::CharsetDeclRange::baseMin_' [-Wreorder]
WideChar baseMin_;
^~~~~~~~
CharsetDecl.cxx:25:1: warning: when initialized here [-Wreorder]
CharsetDeclRange::CharsetDeclRange(WideChar descMin, Number count,
^~~~~~~~~~~~~~~~
In file included from ../include/Vector.h:77,
from ../include/CharsetDecl.h:11,
from CharsetDecl.cxx:8:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]':
../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]'
../include/CharsetDecl.h:53:25: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from CharsetDecl.cxx:8:
../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here
class SP_API CharsetDeclRange {
^~~~~~~~~~~~~~~~
In file included from ../include/Vector.h:77,
from ../include/CharsetDecl.h:11,
from CharsetDecl.cxx:8:
../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]':
../include/Vector.cxx:46:7: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]'
../include/Text.h:55:14: required from here
../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/ExternalId.h:12,
from ../include/CharsetDecl.h:12,
from CharsetDecl.cxx:8:
../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here
struct SP_API TextItem {
^~~~~~~~
In file included from ../include/Vector.h:77,
from ../include/CharsetDecl.h:11,
from CharsetDecl.cxx:8:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]':
../include/Vector.cxx:49:7: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]'
../include/Text.h:55:14: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/ExternalId.h:12,
from ../include/CharsetDecl.h:12,
from CharsetDecl.cxx:8:
../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here
struct SP_API TextItem {
^~~~~~~~
In file included from ../include/Vector.h:77,
from ../include/CharsetDecl.h:11,
from CharsetDecl.cxx:8:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclSection]':
../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclSection]'
CharsetDecl.cxx:183:26: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclSection' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from CharsetDecl.cxx:8:
../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here
class SP_API CharsetDeclSection {
^~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o EntityCatalog.lo EntityCatalog.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c EntityCatalog.cxx -fPIC -DPIC -o .libs/EntityCatalog.o
In file included from ../include/EntityDecl.h:12,
from EntityCatalog.cxx:9:
../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::isNull;
^~~~~~
../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::clear;
^~~~~~
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o EntityManager.lo EntityManager.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c EntityManager.cxx -fPIC -DPIC -o .libs/EntityManager.o
In file included from ../include/EntityManager.h:15,
from EntityManager.cxx:8:
../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::isNull;
^~~~~~
../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::clear;
^~~~~~
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o CharsetInfo.lo CharsetInfo.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c CharsetInfo.cxx -fPIC -DPIC -o .libs/CharsetInfo.o
In file included from ../include/RangeMap.h:7,
from ../include/UnivCharsetDesc.h:14,
from ../include/CharsetInfo.h:11,
from CharsetInfo.cxx:8:
../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]':
../include/RangeMap.h:27:7: required from here
../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder]
size_t size_;
^~~~~
In file included from ../include/Vector.h:77,
from ../include/RangeMap.h:7,
from ../include/UnivCharsetDesc.h:14,
from ../include/CharsetInfo.h:11,
from CharsetInfo.cxx:8:
../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder]
Vector::Vector(const Vector &v)
^~~~~~~~~
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o ElementType.lo ElementType.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c ElementType.cxx -fPIC -DPIC -o .libs/ElementType.o
In file included from ../include/Location.h:12,
from ../include/ElementType.h:14,
from ElementType.cxx:8:
../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::isNull;
^~~~~~
../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::clear;
^~~~~~
In file included from ElementType.cxx:8:
../include/ElementType.h: In constructor 'OpenSP::ElementType::ElementType(const StringC&, size_t)':
../include/ElementType.h:124:28: warning: 'OpenSP::ElementType::map_' will be initialized after [-Wreorder]
const ShortReferenceMap *map_;
^~~~
../include/ElementType.h:122:10: warning: 'size_t OpenSP::ElementType::defIndex_' [-Wreorder]
size_t defIndex_; // index in the group having same definition
^~~~~~~~~
ElementType.cxx:16:1: warning: when initialized here [-Wreorder]
ElementType::ElementType(const StringC &name, size_t index)
^~~~~~~~~~~
In file included from ../include/ElementType.h:12,
from ElementType.cxx:8:
../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]':
../include/ContentToken.h:61:51: required from here
../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder]
size_t size_;
^~~~~
../include/Vector.h:25:3: warning: when initialized here [-Wreorder]
Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); }
^~~~~~
In file included from ../include/Vector.h:77,
from ../include/ElementType.h:12,
from ElementType.cxx:8:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]':
../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]'
../include/Attribute.h:57:29: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/StringC.h:8,
from ../include/Location.h:17,
from ../include/ElementType.h:14,
from ElementType.cxx:8:
../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here
class String {
^~~~~~
In file included from ../include/Vector.h:77,
from ../include/ElementType.h:12,
from ElementType.cxx:8:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]':
../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]'
../include/Attribute.h:486:27: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/Attributed.h:8,
from ../include/ElementType.h:18,
from ElementType.cxx:8:
../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here
class SP_API Attribute {
^~~~~~~~~
In file included from ../include/NCVector.h:48,
from ../include/ContentToken.h:13,
from ../include/ElementType.h:20,
from ElementType.cxx:8:
../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]':
../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]'
../include/ContentToken.h:123:32: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/ElementType.h:13,
from ElementType.cxx:8:
../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here
class Owner {
^~~~~
In file included from ../include/Vector.h:77,
from ../include/ElementType.h:12,
from ElementType.cxx:8:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]':
../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]'
../include/ContentToken.h:187:13: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/ElementType.h:20,
from ElementType.cxx:8:
../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here
struct SP_API Transition {
^~~~~~~~~~
In file included from ../include/Vector.h:77,
from ../include/ElementType.h:12,
from ElementType.cxx:8:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]':
../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]'
ElementType.cxx:102:28: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/Location.h:12,
from ../include/ElementType.h:14,
from ElementType.cxx:8:
../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here
class ConstPtr : private Ptr {
^~~~~~~~
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o EntityDecl.lo EntityDecl.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c EntityDecl.cxx -fPIC -DPIC -o .libs/EntityDecl.o
In file included from ../include/EntityDecl.h:12,
from EntityDecl.cxx:8:
../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::isNull;
^~~~~~
../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::clear;
^~~~~~
In file included from EntityDecl.cxx:8:
../include/EntityDecl.h: In constructor 'OpenSP::EntityDecl::EntityDecl(const StringC&, OpenSP::EntityDecl::DeclType, OpenSP::EntityDecl::DataType, const OpenSP::Location&)':
../include/EntityDecl.h:50:12: warning: 'OpenSP::EntityDecl::defLocation_' will be initialized after [-Wreorder]
Location defLocation_;
^~~~~~~~~~~~
../include/EntityDecl.h:48:17: warning: 'OpenSP::PackedBoolean OpenSP::EntityDecl::dtdIsBase_' [-Wreorder]
PackedBoolean dtdIsBase_;
^~~~~~~~~~
EntityDecl.cxx:14:1: warning: when initialized here [-Wreorder]
EntityDecl::EntityDecl(const StringC &str, DeclType declType, DataType dataType,
^~~~~~~~~~
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o ContentState.lo ContentState.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c ContentState.cxx -fPIC -DPIC -o .libs/ContentState.o
In file included from ../include/Location.h:12,
from ../include/Text.h:13,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::isNull;
^~~~~~
../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::clear;
^~~~~~
In file included from ../include/ContentState.h:13,
from ContentState.cxx:9:
../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
IListBase::clear;
^~~~~~~~~
../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
IListBase::empty;
^~~~~~~~~
In file included from ../include/Markup.h:12,
from ../include/Entity.h:22,
from ../include/Dtd.h:14,
from ../include/ContentState.h:16,
from ContentState.cxx:9:
../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const':
../include/Syntax.h:382:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare]
&& !(standardFunctionValid_[fRE] && c == standardFunction_[fRE])
~~^~~~~~~~~~~~~~~~~~~~~~~~~
../include/Syntax.h:383:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare]
&& !(standardFunctionValid_[fRS] && c == standardFunction_[fRS]));
~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ContentState.cxx:10:
../include/IListIter.h: At global scope:
../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
IListIterBase::next;
^~~~~~~~~~~~~
../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
IListIterBase::done;
^~~~~~~~~~~~~
In file included from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]':
../include/ContentToken.h:61:51: required from here
../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder]
size_t size_;
^~~~~
../include/Vector.h:25:3: warning: when initialized here [-Wreorder]
Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); }
^~~~~~
../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]':
../include/RangeMap.h:27:7: required from here
../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder]
size_t size_;
^~~~~
In file included from ../include/Vector.h:77,
from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder]
Vector::Vector(const Vector &v)
^~~~~~~~~
In file included from ../include/NCVector.h:12,
from ../include/ContentToken.h:13,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.h: In instantiation of 'OpenSP::NCVector::NCVector(size_t) [with T = OpenSP::Owner; size_t = long unsigned int]':
ContentState.cxx:31:42: required from here
../include/Vector.h:66:6: warning: 'OpenSP::NCVector >::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector >::size_' [-Wreorder]
size_t size_;
^~~~~
In file included from ../include/ContentToken.h:13,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/NCVector.h:4:16: warning: when initialized here [-Wreorder]
#define Vector NCVector
^~~~~~~~
../include/Vector.h:25:3: note: in expansion of macro 'Vector'
Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); }
^~~~~~
In file included from ../include/NCVector.h:48,
from ../include/ContentToken.h:13,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]':
../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]'
../include/ContentToken.h:123:32: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/ContentToken.h:10,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here
class Owner {
^~~~~
In file included from ../include/Vector.h:77,
from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]':
../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]'
../include/ContentToken.h:187:13: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here
struct SP_API Transition {
^~~~~~~~~~
In file included from ../include/Vector.h:77,
from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]':
../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]'
../include/Attribute.h:57:29: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/StringC.h:8,
from ../include/Text.h:11,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here
class String {
^~~~~~
In file included from ../include/Vector.h:77,
from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]':
../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]'
../include/Attribute.h:486:27: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/Attributed.h:8,
from ../include/ElementType.h:18,
from ../include/OpenElement.h:12,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here
class SP_API Attribute {
^~~~~~~~~
In file included from ../include/Vector.h:77,
from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]':
../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]'
../include/CharsetDecl.h:53:25: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/Sd.h:17,
from ../include/Markup.h:13,
from ../include/Entity.h:22,
from ../include/Dtd.h:14,
from ../include/ContentState.h:16,
from ContentState.cxx:9:
../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here
class SP_API CharsetDeclRange {
^~~~~~~~~~~~~~~~
In file included from ../include/Vector.h:77,
from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]':
../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]'
../include/Markup.h:125:18: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/Entity.h:22,
from ../include/Dtd.h:14,
from ../include/ContentState.h:16,
from ContentState.cxx:9:
../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here
struct SP_API MarkupItem {
^~~~~~~~~~
In file included from ../include/Vector.h:77,
from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]':
../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]'
../include/ShortReferenceMap.h:26:31: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/Location.h:12,
from ../include/Text.h:13,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here
class ConstPtr : private Ptr {
^~~~~~~~
In file included from ../include/Vector.h:77,
from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ContentModelAmbiguity]':
../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ContentModelAmbiguity]'
ContentState.cxx:36:33: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::ContentModelAmbiguity'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/ContentToken.h:69:15: note: 'struct OpenSP::ContentModelAmbiguity' declared here
struct SP_API ContentModelAmbiguity {
^~~~~~~~~~~~~~~~~~~~~
In file included from ../include/Vector.h:77,
from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::OpenElementInfo]':
../include/Vector.h:47:18: required from 'void OpenSP::Vector::clear() [with T = OpenSP::OpenElementInfo]'
ContentState.cxx:127:11: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::OpenElementInfo' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/Attribute.h:19,
from ../include/Attributed.h:8,
from ../include/ElementType.h:18,
from ../include/OpenElement.h:12,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here
class SP_API OpenElementInfo {
^~~~~~~~~~~~~~~
In file included from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]':
../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]'
../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]'
../include/Dtd.h:165:51: required from here
../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder]
size_t size_;
^~~~~
In file included from ../include/Vector.h:77,
from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder]
Vector::Vector(size_t n, const T &t)
^~~~~~~~~
In file included from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]':
../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]'
../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]'
../include/Dtd.h:279:36: required from here
../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder]
size_t size_;
^~~~~
In file included from ../include/Vector.h:77,
from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder]
Vector::Vector(size_t n, const T &t)
^~~~~~~~~
../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]':
../include/Vector.cxx:62:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]'
../include/PointerTable.cxx:32:5: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]'
../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]'
../include/Dtd.h:165:51: required from here
../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/Location.h:12,
from ../include/Text.h:13,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here
class Ptr {
^~~
In file included from ../include/Vector.h:77,
from ../include/Text.h:12,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]':
../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]'
../include/PointerTable.cxx:32:5: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]'
../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]'
../include/Dtd.h:165:51: required from here
../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T));
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/Location.h:12,
from ../include/Text.h:13,
from ../include/ContentToken.h:11,
from ../include/OpenElement.h:11,
from ../include/ContentState.h:12,
from ContentState.cxx:9:
../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here
class Ptr {
^~~
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o ErrnoMessageArg.lo ErrnoMessageArg.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c ErrnoMessageArg.cxx -fPIC -DPIC -o .libs/ErrnoMessageArg.o
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o EventGenerator.lo EventGenerator.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c EventGenerator.cxx -fPIC -DPIC -o .libs/EventGenerator.o
make[3]: Leaving directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
make[3]: Entering directory '/usr/src/RPM/BUILD/OpenSP-1.5.2/lib'
/bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c -o EntityApp.lo EntityApp.cxx
libtool: compile: x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic -pipe -frecord-gcc-switches -Wall -g -O2 -c EntityApp.cxx -fPIC -DPIC -o .libs/EntityApp.o
In file included from ../include/Location.h:12,
from ../include/Message.h:12,
from ../include/MessageFormatter.h:14,
from ../include/MessageReporter.h:12,
from ../include/CmdLineApp.h:17,
from ../include/EntityApp.h:11,
from EntityApp.cxx:9:
../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::isNull;
^~~~~~
../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
Ptr::clear;
^~~~~~
In file included from ../include/List.h:7,
from ../include/DescriptorManager.h:8,
from ../include/PosixStorage.h:11,
from EntityApp.cxx:14:
../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
IListBase::clear;
^~~~~~~~~
../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
IListBase::empty;
^~~~~~~~~
In file included from ../include/List.cxx:7,
from ../include/List.h:48,
from ../include/DescriptorManager.h:8,
from ../include/PosixStorage.h:11,
from EntityApp.cxx:14:
../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
IListIterBase::next;
^~~~~~~~~~~~~
../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
IListIterBase::done;
^~~~~~~~~~~~~
In file included from ../include/Location.h:15,
from ../include/Message.h:12,
from ../include/MessageFormatter.h:14,
from ../include/MessageReporter.h:12,
from ../include/CmdLineApp.h:17,
from ../include/EntityApp.h:11,
from EntityApp.cxx:9:
../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]':
../include/RangeMap.h:27:7: required from here
../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder]
size_t size_;
^~~~~
In file included from ../include/Vector.h:77,
from ../include/Location.h:15,
from ../include/Message.h:12,
from ../include/MessageFormatter.h:14,
from ../include/MessageReporter.h:12,
from ../include/CmdLineApp.h:17,
from ../include/EntityApp.h:11,
from EntityApp.cxx:9:
../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder]
Vector::Vector(const Vector &v)
^~~~~~~~~
In file included from ../include/Location.h:15,
from ../include/Message.h:12,
from ../include/MessageFormatter.h:14,
from ../include/MessageReporter.h:12,
from ../include/CmdLineApp.h:17,
from ../include/EntityApp.h:11,
from EntityApp.cxx:9:
../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::String; size_t = long unsigned int]':
EntityApp.cxx:88:53: required from here
../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder]
T *ptr_;
^~~~
../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder]
size_t size_;
^~~~~
../include/Vector.h:25:3: warning: when initialized here [-Wreorder]
Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); }
^~~~~~
In file included from ../include/Vector.h:77,
from ../include/Location.h:15,
from ../include/Message.h:12,
from ../include/MessageFormatter.h:14,
from ../include/MessageReporter.h:12,
from ../include/CmdLineApp.h:17,
from ../include/EntityApp.h:11,
from EntityApp.cxx:9:
../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector