Skip to content

commented out unreferenced variables names to remove warnings when compiling.#98

Closed
iras wants to merge 1 commit into
IfcOpenShell:masterfrom
iras:master
Closed

commented out unreferenced variables names to remove warnings when compiling.#98
iras wants to merge 1 commit into
IfcOpenShell:masterfrom
iras:master

Conversation

@iras

@iras iras commented Jun 29, 2016

Copy link
Copy Markdown
Contributor

No description provided.

@Stinkfist0

Stinkfist0 commented Jun 29, 2016

Copy link
Copy Markdown
Contributor

This file is generated by the Python script so this would need to be fixed to the Python script instead. For now I think it might be better simply to do add_definitions(-Wno-unused-parameter) (I have done this on an upcoming PR) on GCC (I looked into fixing this directly into the source a while back, but wasn't fully trivial and I ended up using MSVC's handy pragma push/pop for disabling these on MSVC.)

@iras

iras commented Jun 29, 2016

Copy link
Copy Markdown
Contributor Author

Yes thank you, I'm aware of the Python script generating that code. It's a temporary fix, I just needed to clear out a flood of warnings I got while compiling with gcc in Ubuntu.

@iras

iras commented Jun 29, 2016

Copy link
Copy Markdown
Contributor Author

@Stinkfist0 I'm also getting other warnings related to OCC. I have upgraded OCE to the latest (0.17.2) but that doesn't seem to have addressed the warnings which are listed below here. Thomas suggested to amend the CMakeLists file.

Scanning dependencies of target IfcParse [ 2%] Building CXX object CMakeFiles/IfcParse.dir/home/i/git/IfcOpenShell-1/src/ifcparse/IfcParse.cpp.o /home/i/git/IfcOpenShell-1/src/ifcparse/IfcParse.cpp: In destructor ‘virtual IfcParse::EntityArgument::~EntityArgument()’: /home/i/git/IfcOpenShell-1/src/ifcparse/IfcParse.cpp:866:67: warning: deleting object of abstract class type ‘IfcUtil::IfcBaseClass’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] EntityArgument::~EntityArgument() { delete entity->entity; delete entity;} ^ /home/i/git/IfcOpenShell-1/src/ifcparse/IfcParse.cpp: In member function ‘void IfcParse::Entity::Load(std::vector<unsigned int>&, bool) const’: /home/i/git/IfcOpenShell-1/src/ifcparse/IfcParse.cpp:919:8: warning: variable ‘open’ set but not used [-Wunused-but-set-variable] Token open = file->tokens->Next(); ^ /home/i/git/IfcOpenShell-1/src/ifcparse/IfcParse.cpp: In member function ‘void IfcParse::IfcFile::removeEntity(IfcUtil::IfcBaseClass*)’: /home/i/git/IfcOpenShell-1/src/ifcparse/IfcParse.cpp:1455:9: warning: deleting object of abstract class type ‘IfcUtil::IfcBaseClass’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] delete entity; ^ /home/i/git/IfcOpenShell-1/src/ifcparse/IfcParse.cpp: In destructor ‘IfcParse::IfcFile::~IfcFile()’: /home/i/git/IfcOpenShell-1/src/ifcparse/IfcParse.cpp:1493:14: warning: deleting object of abstract class type ‘IfcUtil::IfcBaseClass’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] delete it->second; ^ /home/i/git/IfcOpenShell-1/src/ifcparse/IfcParse.cpp: In member function ‘IfcUtil::IfcBaseClass* IfcParse::IfcFile::addEntity(IfcUtil::IfcBaseClass*)’: /home/i/git/IfcOpenShell-1/src/ifcparse/IfcParse.cpp:1255:34: warning: ‘*((void*)& conversion_factor +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized] (*it) *= *conversion_factor; ^ [ 5%] Building CXX object CMakeFiles/IfcParse.dir/home/i/git/IfcOpenShell-1/src/ifcparse/IfcSIPrefix.cpp.o [ 8%] Building CXX object CMakeFiles/IfcParse.dir/home/i/git/IfcOpenShell-1/src/ifcparse/IfcLateBoundEntity.cpp.o [ 11%] Building CXX object CMakeFiles/IfcParse.dir/home/i/git/IfcOpenShell-1/src/ifcparse/IfcLogger.cpp.o [ 13%] Building CXX object CMakeFiles/IfcParse.dir/home/i/git/IfcOpenShell-1/src/ifcparse/IfcUtil.cpp.o [ 16%] Building CXX object CMakeFiles/IfcParse.dir/home/i/git/IfcOpenShell-1/src/ifcparse/IfcCharacterDecoder.cpp.o /home/i/git/IfcOpenShell-1/src/ifcparse/IfcCharacterDecoder.cpp: In member function ‘IfcParse::IfcCharacterDecoder::operator std::string()’: /home/i/git/IfcOpenShell-1/src/ifcparse/IfcCharacterDecoder.cpp:140:77: warning: narrowing conversion of ‘(((int)((char)codepage)) + 48)’ from ‘int’ to ‘char’ inside { } is ill-formed in C++11 [-Wnarrowing] char encoder[11] = {'i','s','o','-','8','8','5','9','-', (char)codepage + 0x30}; ^ /home/i/git/IfcOpenShell-1/src/ifcparse/IfcCharacterDecoder.cpp:143:46: warning: narrowing conversion of ‘(((int)current_char) + 128)’ from ‘int’ to ‘const char’ inside { } is ill-formed in C++11 [-Wnarrowing] const char characters[2] = { current_char + 0x80 }; ^ [ 19%] Building CXX object CMakeFiles/IfcParse.dir/home/i/git/IfcOpenShell-1/src/ifcparse/Ifc2x3-latebound.cpp.o /home/i/git/IfcOpenShell-1/src/ifcparse/Ifc2x3-latebound.cpp: In function ‘void InitDescriptorMap()’: /home/i/git/IfcOpenShell-1/src/ifcparse/Ifc2x3-latebound.cpp:2426:31: warning: variable ‘current_enum’ set but not used [-Wunused-but-set-variable] IfcEnumerationDescriptor* current_enum; ^ [ 22%] Building CXX object CMakeFiles/IfcParse.dir/home/i/git/IfcOpenShell-1/src/ifcparse/IfcGlobalId.cpp.o [ 25%] Building CXX object CMakeFiles/IfcParse.dir/home/i/git/IfcOpenShell-1/src/ifcparse/IfcSpfHeader.cpp.o [ 27%] Building CXX object CMakeFiles/IfcParse.dir/home/i/git/IfcOpenShell-1/src/ifcparse/IfcHierarchyHelper.cpp.o [ 30%] Building CXX object CMakeFiles/IfcParse.dir/home/i/git/IfcOpenShell-1/src/ifcparse/IfcWrite.cpp.o [ 33%] Building CXX object CMakeFiles/IfcParse.dir/home/i/git/IfcOpenShell-1/src/ifcparse/Ifc2x3.cpp.o Linking CXX static library libIfcParse.a [ 33%] Built target IfcParse Scanning dependencies of target IfcGeom [ 36%] Building CXX object CMakeFiles/IfcGeom.dir/home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomHelpers.cpp.o In file included from /usr/include/oce/ChFi2d_Builder.hxx:15:0, from /usr/include/oce/BRepFilletAPI_MakeFillet2d.hxx:13, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomHelpers.cpp:74: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TopTools_SequenceOfShape::TopTools_SequenceOfShape(const TopTools_SequenceOfShape&)’: /usr/include/oce/TopTools_SequenceOfShape.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TopTools_SequenceOfShape ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomHelpers.cpp:78: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomHelpers.cpp:78: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomHelpers.cpp:78: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ [ 38%] Building CXX object CMakeFiles/IfcGeom.dir/home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFaces.cpp.o In file included from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFaces.cpp:101: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFaces.cpp:101: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFaces.cpp:101: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ [ 41%] Building CXX object CMakeFiles/IfcGeom.dir/home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomShapes.cpp.o In file included from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomShapes.cpp:104: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomShapes.cpp:104: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomShapes.cpp:104: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ [ 44%] Building CXX object CMakeFiles/IfcGeom.dir/home/i/git/IfcOpenShell-1/src/ifcgeom/IfcRegister.cpp.o In file included from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcRegister.cpp:20: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcRegister.cpp:20: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcRegister.cpp:20: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ [ 47%] Building CXX object CMakeFiles/IfcGeom.dir/home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomRepresentation.cpp.o In file included from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomRepresentation.cpp:26: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomRepresentation.cpp:26: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomRepresentation.cpp:26: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ [ 50%] Building CXX object CMakeFiles/IfcGeom.dir/home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomSerialisation.cpp.o In file included from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomSerialisation.cpp:17: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomSerialisation.cpp:17: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomSerialisation.cpp:17: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ [ 52%] Building CXX object CMakeFiles/IfcGeom.dir/home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp.o /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:139:2: warning: #warning "You are linking against linking against an older version of Open CASCADE. Version 6.9.0 introduces various improvements with relation to boolean operations. You are advised to upgrade." [-Wcpp] #warning "You are linking against linking against an older version of Open CASCADE. Version 6.9.0 introduces various improvements with relation to boolean operations. You are advised to upgrade." ^ In file included from /usr/include/oce/IntCurveSurface_Intersection.hxx:14:0, from /usr/include/oce/IntCurveSurface_HInter.hxx:13, from /usr/include/oce/GeomAPI_IntCS.hxx:14, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:63: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘IntCurveSurface_SequenceOfPnt::IntCurveSurface_SequenceOfPnt(const IntCurveSurface_SequenceOfPnt&)’: /usr/include/oce/IntCurveSurface_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence IntCurveSurface_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/IntCurveSurface_Intersection.hxx:15:0, from /usr/include/oce/IntCurveSurface_HInter.hxx:13, from /usr/include/oce/GeomAPI_IntCS.hxx:14, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:63: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘IntCurveSurface_SequenceOfSeg::IntCurveSurface_SequenceOfSeg(const IntCurveSurface_SequenceOfSeg&)’: /usr/include/oce/IntCurveSurface_SequenceOfSeg.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence IntCurveSurface_SequenceOfSeg ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/IntPatch_Intersection.hxx:14:0, from /usr/include/oce/GeomInt_IntSS.hxx:13, from /usr/include/oce/GeomAPI_IntSS.hxx:13, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:64: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘IntPatch_SequenceOfPoint::IntPatch_SequenceOfPoint(const IntPatch_SequenceOfPoint&)’: /usr/include/oce/IntPatch_SequenceOfPoint.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence IntPatch_SequenceOfPoint ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/IntPatch_Intersection.hxx:15:0, from /usr/include/oce/GeomInt_IntSS.hxx:13, from /usr/include/oce/GeomAPI_IntSS.hxx:13, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:64: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘IntPatch_SequenceOfLine::IntPatch_SequenceOfLine(const IntPatch_SequenceOfLine&)’: /usr/include/oce/IntPatch_SequenceOfLine.hxx:110:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence IntPatch_SequenceOfLine ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GeomInt_LineConstructor.hxx:14:0, from /usr/include/oce/GeomInt_IntSS.hxx:14, from /usr/include/oce/GeomAPI_IntSS.hxx:13, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:64: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GeomInt_IntSS.hxx:17:0, from /usr/include/oce/GeomAPI_IntSS.hxx:13, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:64: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColGeom_SequenceOfCurve::TColGeom_SequenceOfCurve(const TColGeom_SequenceOfCurve&)’: /usr/include/oce/TColGeom_SequenceOfCurve.hxx:110:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColGeom_SequenceOfCurve ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GeomInt_IntSS.hxx:18:0, from /usr/include/oce/GeomAPI_IntSS.hxx:13, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:64: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColGeom2d_SequenceOfCurve::TColGeom2d_SequenceOfCurve(const TColGeom2d_SequenceOfCurve&)’: /usr/include/oce/TColGeom2d_SequenceOfCurve.hxx:110:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColGeom2d_SequenceOfCurve ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/Extrema_FuncExtPS.hxx:17:0, from /usr/include/oce/Extrema_GenExtPS.hxx:19, from /usr/include/oce/Extrema_ExtPS.hxx:16, from /usr/include/oce/ShapeAnalysis_Surface.hxx:15, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:97: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘Extrema_SequenceOfPOnSurf::Extrema_SequenceOfPOnSurf(const Extrema_SequenceOfPOnSurf&)’: /usr/include/oce/Extrema_SequenceOfPOnSurf.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence Extrema_SequenceOfPOnSurf ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/ChFi2d_Builder.hxx:15:0, from /usr/include/oce/BRepFilletAPI_MakeFillet2d.hxx:13, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:99: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TopTools_SequenceOfShape::TopTools_SequenceOfShape(const TopTools_SequenceOfShape&)’: /usr/include/oce/TopTools_SequenceOfShape.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TopTools_SequenceOfShape ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:113: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:15:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:113: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp: In member function ‘bool IfcGeom::Kernel::convert_layerset(const Ifc2x3::IfcProduct*, std::vector<Handle_Geom_Surface>&, std::vector<const IfcGeom::SurfaceStyle*>&, std::vector<double>&)’: /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:1369:12: warning: unused variable ‘axis’ [-Wunused-variable] const int axis = usage->LayerSetDirection(); ^ /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp: In member function ‘bool IfcGeom::Kernel::fold_layers(const Ifc2x3::IfcWall*, const IfcRepresentationShapeItems&, const std::vector<Handle_Geom_Surface>&, const std::vector<double>&, std::vector<std::vector<Handle_Geom_Surface> >&)’: /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomFunctions.cpp:1726:11: warning: variable ‘param’ set but not used [-Wunused-but-set-variable] double param; ^ [ 55%] Building CXX object CMakeFiles/IfcGeom.dir/home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomCurves.cpp.o In file included from /usr/include/oce/ChFi2d_Builder.hxx:15:0, from /usr/include/oce/BRepFilletAPI_MakeFillet2d.hxx:13, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomCurves.cpp:76: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TopTools_SequenceOfShape::TopTools_SequenceOfShape(const TopTools_SequenceOfShape&)’: /usr/include/oce/TopTools_SequenceOfShape.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TopTools_SequenceOfShape ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomCurves.cpp:84: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomCurves.cpp:84: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomCurves.cpp:84: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ [ 58%] Building CXX object CMakeFiles/IfcGeom.dir/home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomMaterial.cpp.o [ 61%] Building CXX object CMakeFiles/IfcGeom.dir/home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomWires.cpp.o In file included from /usr/include/oce/ChFi2d_Builder.hxx:15:0, from /usr/include/oce/BRepFilletAPI_MakeFillet2d.hxx:13, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomWires.cpp:78: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TopTools_SequenceOfShape::TopTools_SequenceOfShape(const TopTools_SequenceOfShape&)’: /usr/include/oce/TopTools_SequenceOfShape.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TopTools_SequenceOfShape ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomWires.cpp:89: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomWires.cpp:89: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomWires.cpp:89: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ [ 63%] Building CXX object CMakeFiles/IfcGeom.dir/home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomRenderStyles.cpp.o In file included from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomRenderStyles.cpp:22: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomRenderStyles.cpp:22: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeom/IfcGeomRenderStyles.cpp:22: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ Linking CXX static library libIfcGeom.a [ 63%] Built target IfcGeom Scanning dependencies of target IfcConvert [ 66%] Building CXX object CMakeFiles/IfcConvert.dir/home/i/git/IfcOpenShell-1/src/ifcconvert/OpenCascadeBasedSerializer.cpp.o In file included from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcgeom/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcconvert/OpenCascadeBasedSerializer.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/OpenCascadeBasedSerializer.cpp:26: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcconvert/OpenCascadeBasedSerializer.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/OpenCascadeBasedSerializer.cpp:26: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcconvert/OpenCascadeBasedSerializer.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/OpenCascadeBasedSerializer.cpp:26: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ [ 69%] Building CXX object CMakeFiles/IfcConvert.dir/home/i/git/IfcOpenShell-1/src/ifcconvert/ColladaSerializer.cpp.o [ 72%] Building CXX object CMakeFiles/IfcConvert.dir/home/i/git/IfcOpenShell-1/src/ifcconvert/IfcConvert.cpp.o In file included from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/OpenCascadeBasedSerializer.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/IgesSerializer.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/IfcConvert.cpp:30: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/OpenCascadeBasedSerializer.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/IgesSerializer.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/IfcConvert.cpp:30: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/OpenCascadeBasedSerializer.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/IgesSerializer.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/IfcConvert.cpp:30: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/XSControl_Controller.hxx:21:0, from /usr/include/oce/IGESControl_Controller.hxx:14, from /home/i/git/IfcOpenShell-1/src/ifcconvert/IfcConvert.cpp:38: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfTransient::TColStd_SequenceOfTransient(const TColStd_SequenceOfTransient&)’: /usr/include/oce/TColStd_SequenceOfTransient.hxx:110:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfTransient ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/OpenCascadeBasedSerializer.h:23:0, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/IgesSerializer.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/IfcConvert.cpp:30: /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h: In instantiation of ‘IfcGeom::BRepElement<P>* IfcGeom::Iterator<P>::create_shape_model_for_next_entity() [with P = double]’: /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h:638:59: required from ‘bool IfcGeom::Iterator<P>::create() [with P = double]’ /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h:253:16: required from ‘bool IfcGeom::Iterator<P>::initialize() [with P = double]’ /home/i/git/IfcOpenShell-1/src/ifcconvert/IfcConvert.cpp:455:35: required from here /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h:396:16: warning: unused variable ‘repid’ [-Wunused-variable] const int repid = representation->entity->id(); ^ /home/i/git/IfcOpenShell-1/src/ifcconvert/IfcConvert.cpp: In function ‘int main(int, char**)’: /home/i/git/IfcOpenShell-1/src/ifcconvert/IfcConvert.cpp:407:108: warning: ‘*((void*)& bounding_height +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized] static_cast<SvgSerializer*>(serializer)->setBoundingRectangle(*bounding_width, *bounding_height); ^ /home/i/git/IfcOpenShell-1/src/ifcconvert/IfcConvert.cpp:407:108: warning: ‘*((void*)& bounding_width +4)’ may be used uninitialized in this function [-Wmaybe-uninitialized] [ 75%] Building CXX object CMakeFiles/IfcConvert.dir/home/i/git/IfcOpenShell-1/src/ifcconvert/SvgSerializer.cpp.o In file included from /usr/include/oce/TopTools_HSequenceOfShape.hxx:13:0, from /home/i/git/IfcOpenShell-1/src/ifcconvert/SvgSerializer.cpp:37: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TopTools_SequenceOfShape::TopTools_SequenceOfShape(const TopTools_SequenceOfShape&)’: /usr/include/oce/TopTools_SequenceOfShape.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TopTools_SequenceOfShape ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/GeometrySerializer.h:30, from /home/i/git/IfcOpenShell-1/src/ifcconvert/SvgSerializer.h:25, from /home/i/git/IfcOpenShell-1/src/ifcconvert/SvgSerializer.cpp:47: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/GeometrySerializer.h:30, from /home/i/git/IfcOpenShell-1/src/ifcconvert/SvgSerializer.h:25, from /home/i/git/IfcOpenShell-1/src/ifcconvert/SvgSerializer.cpp:47: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/GeometrySerializer.h:30, from /home/i/git/IfcOpenShell-1/src/ifcconvert/SvgSerializer.h:25, from /home/i/git/IfcOpenShell-1/src/ifcconvert/SvgSerializer.cpp:47: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ [ 77%] Building CXX object CMakeFiles/IfcConvert.dir/home/i/git/IfcOpenShell-1/src/ifcconvert/util.cpp.o [ 80%] Building CXX object CMakeFiles/IfcConvert.dir/home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp.o /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp: In function ‘boost::optional<std::basic_string<char> > format_attribute(const Argument*, IfcUtil::ArgumentType)’: /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp:41:8: warning: enumeration value ‘Argument_NULL’ not handled in switch [-Wswitch] switch(argument_type) { ^ /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp:41:8: warning: enumeration value ‘Argument_DERIVED’ not handled in switch [-Wswitch] /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp:41:8: warning: enumeration value ‘Argument_BINARY’ not handled in switch [-Wswitch] /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp:41:8: warning: enumeration value ‘Argument_AGGREGATE_OF_INT’ not handled in switch [-Wswitch] /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp:41:8: warning: enumeration value ‘Argument_AGGREGATE_OF_DOUBLE’ not handled in switch [-Wswitch] /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp:41:8: warning: enumeration value ‘Argument_AGGREGATE_OF_STRING’ not handled in switch [-Wswitch] /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp:41:8: warning: enumeration value ‘Argument_AGGREGATE_OF_BINARY’ not handled in switch [-Wswitch] /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp:41:8: warning: enumeration value ‘Argument_AGGREGATE_OF_ENTITY_INSTANCE’ not handled in switch [-Wswitch] /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp:41:8: warning: enumeration value ‘Argument_AGGREGATE_OF_AGGREGATE_OF_INT’ not handled in switch [-Wswitch] /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp:41:8: warning: enumeration value ‘Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE’ not handled in switch [-Wswitch] /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp:41:8: warning: enumeration value ‘Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE’ not handled in switch [-Wswitch] /home/i/git/IfcOpenShell-1/src/ifcconvert/XmlSerializer.cpp:41:8: warning: enumeration value ‘Argument_UNKNOWN’ not handled in switch [-Wswitch] [ 83%] Building CXX object CMakeFiles/IfcConvert.dir/home/i/git/IfcOpenShell-1/src/ifcconvert/WavefrontObjSerializer.cpp.o In file included from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/GeometrySerializer.h:30, from /home/i/git/IfcOpenShell-1/src/ifcconvert/WavefrontObjSerializer.h:27, from /home/i/git/IfcOpenShell-1/src/ifcconvert/WavefrontObjSerializer.cpp:21: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/GeometrySerializer.h:30, from /home/i/git/IfcOpenShell-1/src/ifcconvert/WavefrontObjSerializer.h:27, from /home/i/git/IfcOpenShell-1/src/ifcconvert/WavefrontObjSerializer.cpp:21: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcconvert/../ifcconvert/GeometrySerializer.h:30, from /home/i/git/IfcOpenShell-1/src/ifcconvert/WavefrontObjSerializer.h:27, from /home/i/git/IfcOpenShell-1/src/ifcconvert/WavefrontObjSerializer.cpp:21: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ Linking CXX executable IfcConvert [ 83%] Built target IfcConvert Scanning dependencies of target IfcGeomServer [ 86%] Building CXX object CMakeFiles/IfcGeomServer.dir/home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp.o In file included from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp:41: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp:41: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/IfcGeomIterator.h:79, from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp:41: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp: In instantiation of ‘T sread(std::istream&) [with T = int; std::istream = std::basic_istream<char>]’: /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp:58:32: required from here /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp:53:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return *((T*)buf); ^ /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp: In instantiation of ‘T sread(std::istream&) [with T = double; std::istream = std::basic_istream<char>]’: /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp:299:32: required from here /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp:53:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp: In instantiation of ‘T sread(std::istream&) [with T = unsigned int; std::istream = std::basic_istream<char>]’: /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp:315:26: required from here /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp:53:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] In file included from /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp:41:0: /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/IfcGeomIterator.h: In instantiation of ‘IfcGeom::BRepElement<P>* IfcGeom::Iterator<P>::create_shape_model_for_next_entity() [with P = float]’: /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/IfcGeomIterator.h:638:59: required from ‘bool IfcGeom::Iterator<P>::create() [with P = float]’ /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/IfcGeomIterator.h:253:16: required from ‘bool IfcGeom::Iterator<P>::initialize() [with P = float]’ /home/i/git/IfcOpenShell-1/src/ifcgeomserver/IfcGeomServer.cpp:375:36: required from here /home/i/git/IfcOpenShell-1/src/ifcgeomserver/../ifcgeom/IfcGeomIterator.h:396:16: warning: unused variable ‘repid’ [-Wunused-variable] const int repid = representation->entity->id(); ^ Linking CXX executable IfcGeomServer [ 86%] Built target IfcGeomServer [ 88%] Swig source Scanning dependencies of target _ifcopenshell_wrapper [ 88%] Swig source [ 91%] Building CXX object ifcwrap/CMakeFiles/_ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx.o In file included from /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx:3137: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx:3137: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx:3137: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx: At global scope: /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx:4000:38: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char* const schema_identifier() { ^ /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx:4004:28: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char* const version() { ^ /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* _wrap_delete_IfcBaseEntity(PyObject*, PyObject*)’: /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx:10970:14: warning: deleting object of abstract class type ‘IfcUtil::IfcBaseEntity’ which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] delete arg1; ^ /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* _wrap_delete_entity_instance(PyObject*, PyObject*)’: /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx:16497:14: warning: deleting object of polymorphic class type ‘IfcParse::IfcLateBoundEntity’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete arg1; ^ In file included from /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx:3138:0: /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/IfcGeomIterator.h: In instantiation of ‘IfcGeom::BRepElement<P>* IfcGeom::Iterator<P>::create_shape_model_for_next_entity() [with P = float]’: /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/IfcGeomIterator.h:638:59: required from ‘bool IfcGeom::Iterator<P>::create() [with P = float]’ /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx:6526:37: required from here /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/IfcGeomIterator.h:396:16: warning: unused variable ‘repid’ [-Wunused-variable] const int repid = representation->entity->id(); ^ /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/IfcGeomIterator.h: In instantiation of ‘IfcGeom::BRepElement<P>* IfcGeom::Iterator<P>::create_shape_model_for_next_entity() [with P = double]’: /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/IfcGeomIterator.h:638:59: required from ‘bool IfcGeom::Iterator<P>::create() [with P = double]’ /home/i/git/IfcOpenShell-1/cmake/build_master/ifcwrap/IfcPythonPYTHON_wrap.cxx:7549:37: required from here /home/i/git/IfcOpenShell-1/src/ifcwrap/../ifcgeom/IfcGeomIterator.h:396:16: warning: unused variable ‘repid’ [-Wunused-variable] Linking CXX shared module _ifcopenshell_wrapper.so [ 91%] Built target _ifcopenshell_wrapper Scanning dependencies of target IfcAdvancedHouse [ 94%] Building CXX object examples/CMakeFiles/IfcAdvancedHouse.dir/IfcAdvancedHouse.cpp.o In file included from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/examples/IfcAdvancedHouse.cpp:49: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/examples/IfcAdvancedHouse.cpp:49: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/examples/IfcAdvancedHouse.cpp:49: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ Linking CXX executable IfcAdvancedHouse [ 94%] Built target IfcAdvancedHouse Scanning dependencies of target IfcOpenHouse [ 97%] Building CXX object examples/CMakeFiles/IfcOpenHouse.dir/IfcOpenHouse.cpp.o In file included from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/IfcGeom.h:45:0, from /home/i/git/IfcOpenShell-1/src/examples/IfcOpenHouse.cpp:42: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColgp_SequenceOfPnt::TColgp_SequenceOfPnt(const TColgp_SequenceOfPnt&)’: /usr/include/oce/TColgp_SequenceOfPnt.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColgp_SequenceOfPnt ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/NCollection_EBTree.hxx:23:0, from /usr/include/oce/BRepMesh.hxx:34, from /usr/include/oce/BRepMesh_VertexInspector.hxx:22, from /usr/include/oce/BRepMesh_VertexTool.hxx:20, from /usr/include/oce/BRepMesh_DataStructureOfDelaun.hxx:19, from /usr/include/oce/BRepMesh_FastDiscret.hxx:20, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/examples/IfcOpenHouse.cpp:42: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfInteger::TColStd_SequenceOfInteger(const TColStd_SequenceOfInteger&)’: /usr/include/oce/TColStd_SequenceOfInteger.hxx:108:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfInteger ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ In file included from /usr/include/oce/GCPnts_TangentialDeflection.hxx:16:0, from /usr/include/oce/BRepMesh_GeomTool.hxx:20, from /usr/include/oce/BRepMesh_Delaun.hxx:28, from /usr/include/oce/BRepMesh_FastDiscret.hxx:29, from /usr/include/oce/BRepMesh_IncrementalMesh.hxx:20, from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/../ifcgeom/../ifcgeom/IfcGeomRepresentation.h:23, from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/../ifcgeom/IfcGeomElement.h:28, from /home/i/git/IfcOpenShell-1/src/examples/../ifcgeom/IfcGeom.h:50, from /home/i/git/IfcOpenShell-1/src/examples/IfcOpenHouse.cpp:42: /usr/include/oce/TCollection_Sequence.lxx: In copy constructor ‘TColStd_SequenceOfReal::TColStd_SequenceOfReal(const TColStd_SequenceOfReal&)’: /usr/include/oce/TColStd_SequenceOfReal.hxx:109:30: warning: base class ‘class TCollection_BaseSequence’ should be explicitly initialized in the copy constructor [-Wextra] #define TCollection_Sequence TColStd_SequenceOfReal ^ /usr/include/oce/TCollection_Sequence.lxx:31:8: note: in expansion of macro ‘TCollection_Sequence’ inline TCollection_Sequence::TCollection_Sequence(const TCollection_Sequence& theOther) ^ Linking CXX executable IfcOpenHouse [ 97%] Built target IfcOpenHouse Scanning dependencies of target IfcParseExamples [100%] Building CXX object examples/CMakeFiles/IfcParseExamples.dir/IfcParseExamples.cpp.o Linking CXX executable IfcParseExamples [100%] Built target IfcParseExamples

@Stinkfist0

Copy link
Copy Markdown
Contributor

I have disabled warning spam leaking for external projects for MSVC case by case basis. If wanted, maybe we could not use -Wextra for GCC for now. I'm going to clean up these but it might take a day or two.

@iras

iras commented Jun 29, 2016

Copy link
Copy Markdown
Contributor Author

Cleaning them up would be super! Thank you @Stinkfist0

@aothms

aothms commented Jun 29, 2016

Copy link
Copy Markdown
Member

The non-virtual destructor on IfcUtil::IfcBaseClass really needs to be fixed as it causes undefined behaviour in principle.

But as @Stinkfist0 rightfully says, the unreferenced argument warnings really needs to be addressed here:
https://github.com/IfcOpenShell/IfcOpenShell/blob/master/src/ifcexpressparser/templates.py#L362

@iras

iras commented Jul 5, 2016

Copy link
Copy Markdown
Contributor Author

OK, this pull request has been superseded by #99. Thanks @Stinkfist0.

@iras iras closed this Jul 5, 2016
@aothms

aothms commented Jul 8, 2016

Copy link
Copy Markdown
Member

Thanks anyway :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants