Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/amftools.spec'], chrootPath='/var/lib/mock/f29-build-11604-5252/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/amftools-0.0-16.20121220svn32.fc29.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/f29-build-11604-5252/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E08s96 + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BcurL1 + umask 022 + cd /builddir/build/BUILD + cd amftools + make -j4 g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/Amf.cpp -o bin/Amf.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/AMF_File.cpp -o bin/AMF_File.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/Equation.cpp -o bin/Equation.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -DUSE_OPEN_GL -c -fPIC src/Mesh.cpp -o bin/Mesh.o BUILDSTDERR: src/AMF_File.cpp:1204:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* BUILDSTDERR: BUILDSTDERR: src/Mesh.cpp: In member function 'bool CMesh::LoadAsciiSTL(std::__cxx11::string)': BUILDSTDERR: src/Mesh.cpp:355:6: warning: unused variable 'cnt' [-Wunused-variable] BUILDSTDERR: 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: Vec3D CurVerts[3]; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: src/Equation.cpp: In member function 'bool CEquation::CheckParse(std::__cxx11::string*)': BUILDSTDERR: src/Equation.cpp:127:10: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double result; BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/Equation.cpp: In member function 'void CEquation::ScaleVariable(std::__cxx11::string&, const string&, double)': BUILDSTDERR: src/Equation.cpp:196:49: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 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::__cxx11::string&, const string&, const string&)': BUILDSTDERR: src/Equation.cpp:242:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: 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: 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: 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: 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: ~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: ~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: 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::__cxx11::string*, int)': BUILDSTDERR: src/AMF_File.cpp:2526:6: warning: unused variable 'ThisObjID' [-Wunused-variable] BUILDSTDERR: 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: 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: ^~~~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -DUSE_OPEN_GL -c -fPIC src/MeshSlice.cpp -o bin/MeshSlice.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -DUSE_OPEN_GL -c -fPIC src/MeshTree.cpp -o bin/MeshTree.o BUILDSTDERR: src/MeshSlice.cpp:823:2: warning: multi-line comment [-Wcomment] BUILDSTDERR: // |\ BUILDSTDERR: ^ BUILDSTDERR: src/MeshSlice.cpp:825:2: warning: multi-line comment [-Wcomment] BUILDSTDERR: // 3 | \ BUILDSTDERR: ^ BUILDSTDERR: src/MeshSlice.cpp:829:2: warning: multi-line comment [-Wcomment] BUILDSTDERR: // 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: ~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: 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: 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: catch(std::bad_alloc){ErrorAdding = true;} BUILDSTDERR: ^~~~~~~~~ g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nAmf.cpp -o bin/nAmf.o 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: 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: 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: 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: int V1, V2; 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: ~~^~~~~~~ g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nColor.cpp -o bin/nColor.o 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: 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: 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: 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: 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: 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: int RIndex, GIndex, BIndex, AIndex; //AMF texture ID's, to be set as we add textures BUILDSTDERR: ^~~~~~ g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nComposite.cpp -o bin/nComposite.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nConstellation.cpp -o bin/nConstellation.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nCoordinates.cpp -o bin/nCoordinates.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nEdge.cpp -o bin/nEdge.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nInstance.cpp -o bin/nInstance.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nMaterial.cpp -o bin/nMaterial.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nMesh.cpp -o bin/nMesh.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nMetadata.cpp -o bin/nMetadata.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nNormal.cpp -o bin/nNormal.o BUILDSTDERR: src/nMaterial.cpp: In member function 'int nMaterial::AddCompositeInstance(int, std::__cxx11::string, std::__cxx11::string*)': BUILDSTDERR: src/nMaterial.cpp:221:18: warning: statement has no effect [-Wunused-value] BUILDSTDERR: if (aID == 0) -1; //protect the void material BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nObject.cpp -o bin/nObject.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nTexmap.cpp -o bin/nTexmap.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nTexture.cpp -o bin/nTexture.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nTriangle.cpp -o bin/nTriangle.o 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: } BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nVertex.cpp -o bin/nVertex.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nVertices.cpp -o bin/nVertices.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/nVolume.cpp -o bin/nVolume.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/SimpleImage.cpp -o bin/SimpleImage.o g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/STL_File.cpp -o bin/STL_File.o BUILDSTDERR: src/SimpleImage.cpp: In member function 'void CSimpleImage::ToRgba()': BUILDSTDERR: src/SimpleImage.cpp:190:17: warning: unused variable 'pBwIterator' [-Wunused-variable] BUILDSTDERR: unsigned char* pBwIterator = pBackup; BUILDSTDERR: ^~~~~~~~~~~ g++ -O2 -g -pipe -Wall -Iinclude -DLINUX -c -fPIC src/XmlCompress.cpp -o bin/XmlCompress.o BUILDSTDERR: src/STL_File.cpp: In member function 'bool CSTL_File::Load(std::__cxx11::string)': BUILDSTDERR: src/STL_File.cpp:88:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (Start != std::string::npos) NewObjName = NewObjName.substr(Start + 1, NewObjName.size() - Start - 1); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: src/STL_File.cpp:90:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (End != std::string::npos) NewObjName = NewObjName.substr(0, End); BUILDSTDERR: ~~~~^~~~~~ BUILDSTDERR: src/STL_File.cpp: In member function 'bool CSTL_File::LoadAscii(std::__cxx11::string)': BUILDSTDERR: src/STL_File.cpp:132:7: warning: unused variable 'fileLen' [-Wunused-variable] BUILDSTDERR: long fileLen = ftell(fp); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/STL_File.cpp:142:6: warning: unused variable 'cnt' [-Wunused-variable] BUILDSTDERR: int cnt=0; BUILDSTDERR: ^~~ BUILDSTDERR: src/XmlCompress.cpp: In function 'bool GetCompressedFiles(std::__cxx11::string, std::vector >*, std::vector >*, std::__cxx11::string*)': BUILDSTDERR: src/XmlCompress.cpp:152:18: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: for (uint i=0; i