Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/amftools.spec'], chrootPath='/var/lib/mock/f31-build-52736-27716/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/amftools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Wrote: /builddir/build/SRPMS/amftools-0.0-18.20121220svn32.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/amftools.spec'], chrootPath='/var/lib/mock/f31-build-52736-27716/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/amftools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VDeIHZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf amftools + /usr/bin/gzip -dc /builddir/build/SOURCES/amftools-svn32.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd amftools + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/amftools-Makefile Makefile + rm -rf include/muparser src/muparser include/stb_image src/stb_image include/rapidxml include/zip src/zip + sed -i 's|muparser/muParser.h|muParser.h|g' include/Equation.h + sed -i 's|stb_image/stb_image.h|stb_image.h|g' src/SimpleImage.cpp + sed -i 's|rapidxml/||g' include/XmlStream.h src/XmlStream.cpp + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.s1gZjW + umask 022 + cd /builddir/build/BUILD + cd amftools + make -j4 BUILDSTDERR: src/AMF_File.cpp:1204:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1204 | /* BUILDSTDERR: | BUILDSTDERR: src/Mesh.cpp: In member function 'bool CMesh::LoadAsciiSTL(std::string)': BUILDSTDERR: src/Mesh.cpp:355:6: warning: unused variable 'cnt' [-Wunused-variable] BUILDSTDERR: 355 | int cnt=0; BUILDSTDERR: | ^~~ BUILDSTDERR: src/Mesh.cpp: In member function 'void CMesh::Draw(bool)': BUILDSTDERR: src/Mesh.cpp:503:9: warning: unused variable 'CurVerts' [-Wunused-variable] BUILDSTDERR: 503 | Vec3D CurVerts[3]; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/Equation.cpp: In member function 'bool CEquation::CheckParse(std::string*)': BUILDSTDERR: src/Equation.cpp:127:10: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 127 | double result; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: src/Equation.cpp: In member function 'void CEquation::ScaleVariable(std::string&, const string&, double)': BUILDSTDERR: src/Equation.cpp:196:49: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] BUILDSTDERR: 196 | for (int pos=0; (pos=source.find(SymbVar, pos))!=std::string::npos; /*pos+=rLen*/){ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/Equation.cpp: In member function 'void CEquation::findAndReplace(std::string&, const string&, const string&)': BUILDSTDERR: src/Equation.cpp:242:46: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] BUILDSTDERR: 242 | for (int pos=0; (pos=source.find(find, pos))!=std::string::npos; pos+=rLen){ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/Equation.cpp: In static member function 'static double CEquation::prsm(double, double, double, int)': BUILDSTDERR: src/Equation.cpp:320:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 320 | unsigned long int ts1 = *(unsigned int*)&tx; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/Equation.cpp:321:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 321 | unsigned long int ts2 = *(unsigned int*)&ty; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/Equation.cpp:322:30: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: 322 | unsigned long int ts3 = *(unsigned int*)&tz; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from include/AMF_File.h:17, BUILDSTDERR: from src/AMF_File.cpp:11: BUILDSTDERR: include/MeshTree.h: In destructor 'MeshTreeNode::~MeshTreeNode()': BUILDSTDERR: include/MeshTree.h:30:36: warning: deleting object of polymorphic class type 'CMeshSlice' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 30 | ~MeshTreeNode(){if (pMesh) delete pMesh;} BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from include/AMF_File.h:17, BUILDSTDERR: from src/Amf.cpp:14: BUILDSTDERR: include/MeshTree.h: In destructor 'MeshTreeNode::~MeshTreeNode()': BUILDSTDERR: include/MeshTree.h:30:36: warning: deleting object of polymorphic class type 'CMeshSlice' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 30 | ~MeshTreeNode(){if (pMesh) delete pMesh;} BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/AMF_File.cpp: In member function 'bool AmfFile::ImportX3d(int, int)': BUILDSTDERR: src/AMF_File.cpp:485:30: warning: variable 'AIndex' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 485 | int RIndex, GIndex, BIndex, AIndex; //AMF texture ID's, to be set as we add textures BUILDSTDERR: | ^~~~~~ BUILDSTDERR: src/AMF_File.cpp: In member function 'unsigned char* AmfFile::GenerateLayer(double, double, double, Vec3D, int*, int*, bool, std::string*, int)': BUILDSTDERR: src/AMF_File.cpp:2526:6: warning: unused variable 'ThisObjID' [-Wunused-variable] BUILDSTDERR: 2526 | int ThisObjID = 0; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: src/Amf.cpp: At global scope: BUILDSTDERR: src/Amf.cpp:20:29: warning: 'Amf::aInstanceParamD TranslateEnum(InstanceParamD)' defined but not used [-Wunused-function] BUILDSTDERR: 20 | static Amf::aInstanceParamD TranslateEnum(InstanceParamD ParamIn){switch (ParamIn){case INST_DX: return Amf::aINST_DX; case INST_DY: return Amf::aINST_DY; case INST_DZ: return Amf::aINST_DZ; case INST_RX: return Amf::aINST_RX; case INST_RY: return Amf::aINST_RY; case INST_RZ: return Amf::aINST_RZ; default: return Amf::aINST_DX;}} BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: src/MeshSlice.cpp:823:2: warning: multi-line comment [-Wcomment] BUILDSTDERR: 823 | // |\ BUILDSTDERR: | ^ BUILDSTDERR: src/MeshSlice.cpp:825:2: warning: multi-line comment [-Wcomment] BUILDSTDERR: 825 | // 3 | \ BUILDSTDERR: | ^ BUILDSTDERR: src/MeshSlice.cpp:829:2: warning: multi-line comment [-Wcomment] BUILDSTDERR: 829 | // 4 | 5 \ BUILDSTDERR: | ^ BUILDSTDERR: In file included from src/MeshTree.cpp:1: BUILDSTDERR: include/MeshTree.h: In destructor 'MeshTreeNode::~MeshTreeNode()': BUILDSTDERR: include/MeshTree.h:30:36: warning: deleting object of polymorphic class type 'CMeshSlice' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 30 | ~MeshTreeNode(){if (pMesh) delete pMesh;} BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/MeshTree.cpp: In member function 'void MeshTreeNode::Clear()': BUILDSTDERR: src/MeshTree.cpp:60:21: warning: deleting object of polymorphic class type 'CMeshSlice' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 60 | if (pMesh) {delete pMesh; pMesh=NULL;} BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/MeshTree.cpp: In member function 'bool MeshTreeNode::RenderTriMesh(nAmf*, nObject*, nMesh*, nVolume*, unsigned int, int)': BUILDSTDERR: src/MeshTree.cpp:185:16: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: 185 | catch(std::bad_alloc){ErrorAdding = true;} BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: src/MeshTree.cpp:191:15: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: 191 | catch(std::bad_alloc){ErrorAdding = true;} BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from src/Mesh.cpp:10: BUILDSTDERR: include/Mesh.h: In member function 'void CMesh::SubdivideMe()': BUILDSTDERR: include/Mesh.h:60:56: warning: '*((void*)(&)+40).TexMap::TexIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~^~~~~~~~ BUILDSTDERR: include/Mesh.h:60:78: warning: '*((void*)(&)+40).TexMap::uc[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:93: warning: '*((void*)(&)+40).TexMap::uc[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:108: warning: '*((void*)(&)+40).TexMap::uc[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:123: warning: '*((void*)(&)+40).TexMap::vc[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:138: warning: '*((void*)(&)+40).TexMap::vc[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:153: warning: '*((void*)(&)+40).TexMap::vc[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:168: warning: '*((void*)(&)+40).TexMap::TexTile' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~^~~~~~~ BUILDSTDERR: include/Mesh.h:60:56: warning: '*((void*)(&)+40).TexMap::TexIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~^~~~~~~~ BUILDSTDERR: include/Mesh.h:60:78: warning: '*((void*)(&)+40).TexMap::uc[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:93: warning: '*((void*)(&)+40).TexMap::uc[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:108: warning: '*((void*)(&)+40).TexMap::uc[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:123: warning: '*((void*)(&)+40).TexMap::vc[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:138: warning: '*((void*)(&)+40).TexMap::vc[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:153: warning: '*((void*)(&)+40).TexMap::vc[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:168: warning: '*((void*)(&)+40).TexMap::TexTile' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~^~~~~~~ BUILDSTDERR: include/Mesh.h:60:56: warning: '*((void*)(&)+40).TexMap::TexIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~^~~~~~~~ BUILDSTDERR: include/Mesh.h:60:78: warning: '*((void*)(&)+40).TexMap::uc[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:93: warning: '*((void*)(&)+40).TexMap::uc[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:108: warning: '*((void*)(&)+40).TexMap::uc[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:123: warning: '*((void*)(&)+40).TexMap::vc[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:138: warning: '*((void*)(&)+40).TexMap::vc[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:153: warning: '*((void*)(&)+40).TexMap::vc[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:168: warning: '*((void*)(&)+40).TexMap::TexTile' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~^~~~~~~ BUILDSTDERR: include/Mesh.h:60:56: warning: '*((void*)(&)+40).TexMap::TexIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~^~~~~~~~ BUILDSTDERR: include/Mesh.h:60:78: warning: '*((void*)(&)+40).TexMap::uc[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:93: warning: '*((void*)(&)+40).TexMap::uc[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:108: warning: '*((void*)(&)+40).TexMap::uc[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:123: warning: '*((void*)(&)+40).TexMap::vc[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:138: warning: '*((void*)(&)+40).TexMap::vc[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:153: warning: '*((void*)(&)+40).TexMap::vc[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: include/Mesh.h:60:168: warning: '*((void*)(&)+40).TexMap::TexTile' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 60 | inline TexMap& operator=(const TexMap& t) {TexIndex=t.TexIndex; uc[0]=t.uc[0]; uc[1]=t.uc[1]; uc[2]=t.uc[2]; vc[0]=t.vc[0]; vc[1]=t.vc[1]; vc[2]=t.vc[2]; TexTile = t.TexTile; return *this;}; //overload equals BUILDSTDERR: | ~~^~~~~~~ BUILDSTDERR: In file included from include/MeshSlice.h:14, BUILDSTDERR: from include/MeshTree.h:19, BUILDSTDERR: from src/MeshTree.cpp:1: BUILDSTDERR: include/Mesh.h: In member function 'void MeshTreeNode::AddEdge(CFacet*, int, Vec3D&, Vec3D&)': BUILDSTDERR: include/Mesh.h:97:91: warning: 'V2' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 97 | CLine(const int& av1, const int& av2, Vec3D vt1, Vec3D vt2) {Clear(); vi[0] = av1; vi[1] = av2; vt[0]=vt1; vt[1]=vt2; HasTangent[0]=true; HasTangent[1]=true;} BUILDSTDERR: | ~~~~~~^~~~~ BUILDSTDERR: src/MeshTree.cpp:270:10: note: 'V2' was declared here BUILDSTDERR: 270 | int V1, V2; BUILDSTDERR: | ^~ BUILDSTDERR: In file included from include/MeshSlice.h:14, BUILDSTDERR: from include/MeshTree.h:19, BUILDSTDERR: from src/MeshTree.cpp:1: BUILDSTDERR: include/Mesh.h:97:78: warning: 'V1' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 97 | CLine(const int& av1, const int& av2, Vec3D vt1, Vec3D vt2) {Clear(); vi[0] = av1; vi[1] = av2; vt[0]=vt1; vt[1]=vt2; HasTangent[0]=true; HasTangent[1]=true;} BUILDSTDERR: | ~~~~~~^~~~~ BUILDSTDERR: src/MeshTree.cpp:270:6: note: 'V1' was declared here BUILDSTDERR: 270 | int V1, V2; BUILDSTDERR: | ^~ BUILDSTDERR: In file included from include/nTriangle.h:15, BUILDSTDERR: from include/nVolume.h:17, BUILDSTDERR: from include/nMesh.h:16, BUILDSTDERR: from include/nObject.h:16, BUILDSTDERR: from include/nAmf.h:17, BUILDSTDERR: from include/AMF_File.h:15, BUILDSTDERR: from src/AMF_File.cpp:11: BUILDSTDERR: include/nTexmap.h: In member function 'bool AmfFile::ImportX3d(int, int)': BUILDSTDERR: include/nTexmap.h:25:185: warning: 'BIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 25 | nTexmap(int RTexIdIn, int GTexIdIn, int BTexIdIn, double U1In, double U2In, double U3In, double V1In, double V2In, double V3In) {Clear(); RTexID = RTexIdIn; GTexID = GTexIdIn; BTexID = BTexIdIn; uTex1 = U1In; uTex2 = U2In; uTex3 = U3In; vTex1 = V1In; vTex2 = V2In; vTex3 = V3In;} BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: src/AMF_File.cpp:485:22: note: 'BIndex' was declared here BUILDSTDERR: 485 | int RIndex, GIndex, BIndex, AIndex; //AMF texture ID's, to be set as we add textures BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from include/nTriangle.h:15, BUILDSTDERR: from include/nVolume.h:17, BUILDSTDERR: from include/nMesh.h:16, BUILDSTDERR: from include/nObject.h:16, BUILDSTDERR: from include/nAmf.h:17, BUILDSTDERR: from include/AMF_File.h:15, BUILDSTDERR: from src/AMF_File.cpp:11: BUILDSTDERR: include/nTexmap.h:25:166: warning: 'GIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 25 | nTexmap(int RTexIdIn, int GTexIdIn, int BTexIdIn, double U1In, double U2In, double U3In, double V1In, double V2In, double V3In) {Clear(); RTexID = RTexIdIn; GTexID = GTexIdIn; BTexID = BTexIdIn; uTex1 = U1In; uTex2 = U2In; uTex3 = U3In; vTex1 = V1In; vTex2 = V2In; vTex3 = V3In;} BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: src/AMF_File.cpp:485:14: note: 'GIndex' was declared here BUILDSTDERR: 485 | int RIndex, GIndex, BIndex, AIndex; //AMF texture ID's, to be set as we add textures BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from include/nTriangle.h:15, BUILDSTDERR: from include/nVolume.h:17, BUILDSTDERR: from include/nMesh.h:16, BUILDSTDERR: from include/nObject.h:16, BUILDSTDERR: from include/nAmf.h:17, BUILDSTDERR: from include/AMF_File.h:15, BUILDSTDERR: from src/AMF_File.cpp:11: BUILDSTDERR: include/nTexmap.h:25:147: warning: 'RIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 25 | nTexmap(int RTexIdIn, int GTexIdIn, int BTexIdIn, double U1In, double U2In, double U3In, double V1In, double V2In, double V3In) {Clear(); RTexID = RTexIdIn; GTexID = GTexIdIn; BTexID = BTexIdIn; uTex1 = U1In; uTex2 = U2In; uTex3 = U3In; vTex1 = V1In; vTex2 = V2In; vTex3 = V3In;} BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: src/AMF_File.cpp:485:6: note: 'RIndex' was declared here BUILDSTDERR: 485 | int RIndex, GIndex, BIndex, AIndex; //AMF texture ID's, to be set as we add textures BUILDSTDERR: | ^~~~~~ BUILDSTDERR: src/nMaterial.cpp: In member function 'int nMaterial::AddCompositeInstance(int, std::string, std::string*)': BUILDSTDERR: src/nMaterial.cpp:221:16: warning: statement has no effect [-Wunused-value] BUILDSTDERR: 221 | if (aID == 0) -1; //protect the void material BUILDSTDERR: | ^~ BUILDSTDERR: src/nObject.cpp: In member function 'bool nObject::GetBounds(double*, double*, double*, double*, double*, double*, int)': BUILDSTDERR: src/nObject.cpp:207:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 207 | } BUILDSTDERR: | ^ BUILDSTDERR: src/SimpleImage.cpp: In member function 'void CSimpleImage::ToRgba()': BUILDSTDERR: src/SimpleImage.cpp:190:17: warning: unused variable 'pBwIterator' [-Wunused-variable] BUILDSTDERR: 190 | unsigned char* pBwIterator = pBackup; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: src/XmlCompress.cpp: In function 'bool GetCompressedFiles(std::string, std::vector >*, std::vector >*, std::string*)': BUILDSTDERR: src/XmlCompress.cpp:152:18: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 152 | for (uint i=0; i