############################################################################## ############################################################################## ### ### Running command: ### ### F:\biocbuild\bbs-3.20-bioc\R\bin\R.exe CMD INSTALL fmcsR ### ############################################################################## ############################################################################## * installing to library 'F:/biocbuild/bbs-3.20-bioc/R/library' * installing *source* package 'fmcsR' ... ** using staged installation ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs using C++ compiler: 'G__~1.EXE (GCC) 13.3.0' g++ -std=gnu++17 -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG -DSTRICT_R_HEADERS -DR_NO_REMAP -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MCS.cpp -o MCS.o MCS.cpp: In member function 'void FMCS::MCS::calculate()': MCS.cpp:108:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 108 | for (int i = 0; i < atomCountOne; ++i) { | ~~^~~~~~~~~~~~~~ MCS.cpp:116:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 116 | for (int i = 0; i < atomCountTwo; ++i) { | ~~^~~~~~~~~~~~~~ In file included from MCSCompound.h:15, from MCS.h:12, from MCS.cpp:3: MCSList.h: In instantiation of 'bool FMCS::MCSList::contains(const T&) const [with T = long long unsigned int]': MCS.cpp:381:44: required from here MCSList.h:143:27: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long long unsigned int'} [-Wsign-compare] 143 | for (int i = 0; i < length; ++i) { | ~~^~~~~~~~ g++ -std=gnu++17 -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG -DSTRICT_R_HEADERS -DR_NO_REMAP -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MCSCompound.cpp -o MCSCompound.o In file included from MCSCompound.cpp:5: MCSRingDetector.h: In constructor 'FMCS::MCSRingDetector::Ring::Ring(const FMCS::MCSRingDetector::Edge&, const FMCS::MCSCompound*)': MCSRingDetector.h:86:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 86 | for (int i = 0; i < this->vertexPath.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ MCSRingDetector.h: In member function 'int FMCS::MCSRingDetector::Ring::rightVertex(size_t) const': MCSRingDetector.h:142:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 142 | if (vertexIndex < vertexPath.size()-1) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ MCSCompound.cpp: In copy constructor 'FMCS::MCSCompound::MCSCompound(const FMCS::MCSCompound&)': MCSCompound.cpp:87:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct FMCS::MCSCompound::Atom' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 87 | memcpy(atoms, other.atoms, sizeof(Atom) * other.atomCount); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from MCSCompound.cpp:4: MCSCompound.h:26:16: note: 'struct FMCS::MCSCompound::Atom' declared here 26 | struct Atom { | ^~~~ MCSCompound.cpp: In member function 'const FMCS::MCSCompound& FMCS::MCSCompound::operator=(const FMCS::MCSCompound&)': MCSCompound.cpp:123:19: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct FMCS::MCSCompound::Atom' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 123 | memcpy(atoms, that.atoms, sizeof(Atom) * that.atomCount); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MCSCompound.h:26:16: note: 'struct FMCS::MCSCompound::Atom' declared here 26 | struct Atom { | ^~~~ MCSCompound.cpp: In member function 'void FMCS::MCSCompound::read(const std::string&)': MCSCompound.cpp:157:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 157 | for (int i = 0; i < bondCount; ++i) { | ~~^~~~~~~~~~~ MCSCompound.cpp: In member function 'std::string FMCS::MCSCompound::subgraph(const size_t*, size_t, const std::string&) const': MCSCompound.cpp:194:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 194 | for (int i = 0; i < indexLength; ++i) { | ~~^~~~~~~~~~~~~ MCSCompound.cpp: In member function 'const FMCS::MCSCompound::Bond* FMCS::MCSCompound::getBond(size_t, size_t) const': MCSCompound.cpp:467:26: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long long unsigned int'} [-Wsign-compare] 467 | for(int i = 0; i < bondCount; ++i) { | ~~^~~~~~~~~~~ g++ -std=gnu++17 -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG -DSTRICT_R_HEADERS -DR_NO_REMAP -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MCSMap.cpp -o MCSMap.o In file included from MCSMap.h:8, from MCSMap.cpp:3: MCSList.h: In instantiation of 'bool FMCS::MCSList::contains(const T&) const [with T = long long unsigned int]': MCSMap.cpp:28:32: required from here MCSList.h:143:27: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long long unsigned int'} [-Wsign-compare] 143 | for (int i = 0; i < length; ++i) { | ~~^~~~~~~~ g++ -std=gnu++17 -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG -DSTRICT_R_HEADERS -DR_NO_REMAP -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MCSRingDetector.cpp -o MCSRingDetector.o In file included from MCSRingDetector.cpp:13: MCSRingDetector.h: In constructor 'FMCS::MCSRingDetector::Ring::Ring(const FMCS::MCSRingDetector::Edge&, const FMCS::MCSCompound*)': MCSRingDetector.h:86:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 86 | for (int i = 0; i < this->vertexPath.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ MCSRingDetector.h: In member function 'int FMCS::MCSRingDetector::Ring::rightVertex(size_t) const': MCSRingDetector.h:142:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 142 | if (vertexIndex < vertexPath.size()-1) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ MCSRingDetector.cpp: In member function 'void FMCS::MCSRingDetector::sortVertexQueue()': MCSRingDetector.cpp:93:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 93 | for (int i = 0; i < vertexQueue.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ MCSRingDetector.cpp:94:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 94 | for (int j = 0; j < queueSize-1-i; ++j ) { | ~~^~~~~~~~~~~~~~~ MCSRingDetector.cpp: In member function 'void FMCS::MCSRingDetector::convert()': MCSRingDetector.cpp:149:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long long unsigned int'} [-Wsign-compare] 149 | for (int j = 0; j < degree; ++j) { | ~~^~~~~~~~ MCSRingDetector.cpp: In member function 'void FMCS::MCSRingDetector::detect()': MCSRingDetector.cpp:175:13: warning: unused variable 'aromaticCount' [-Wunused-variable] 175 | int aromaticCount = 0; | ^~~~~~~~~~~~~ MCSRingDetector.cpp: In member function 'bool FMCS::MCSRingDetector::Ring::isSp2Hybridized(size_t, int, bool&) const': MCSRingDetector.cpp:194:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 194 | if (level > vertexPath.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG -DSTRICT_R_HEADERS -DR_NO_REMAP -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c fmcs_R_wrap.cpp -o fmcs_R_wrap.o fmcs_R_wrap.cpp: In function 'void fmcs_R_wrap(const char**, const char**, int*, int*, int*, int*, int*, int*, int*, const char**, const char**, const char**, const char**, const char**)': fmcs_R_wrap.cpp:74:45: warning: 'matchType' may be used uninitialized [-Wmaybe-uninitialized] 74 | matchType, runningMode, *timeout); | ^ fmcs_R_wrap.cpp:42:24: note: 'matchType' was declared here 42 | MCS::MatchType matchType; | ^~~~~~~~~ fmcs_R_wrap.cpp:74:45: warning: 'runningMode' may be used uninitialized [-Wmaybe-uninitialized] 74 | matchType, runningMode, *timeout); | ^ fmcs_R_wrap.cpp:52:26: note: 'runningMode' was declared here 52 | MCS::RunningMode runningMode; | ^~~~~~~~~~~ g++ -std=gnu++17 -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG -DSTRICT_R_HEADERS -DR_NO_REMAP -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c util.cpp -o util.o util.cpp: In function 'std::string getUpper(const std::string&)': util.cpp:11:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 11 | for (int i = 0; i < upper.length(); ++i) { | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o fmcsR.dll tmp.def MCS.o MCSCompound.o MCSMap.o MCSRingDetector.o fmcs_R_wrap.o util.o -LC:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools44/x86_64-w64-mingw32.static.posix/lib -LF:/biocbuild/bbs-3.20-bioc/R/bin/x64 -lR installing to F:/biocbuild/bbs-3.20-bioc/R/library/00LOCK-fmcsR/00new/fmcsR/libs/x64 ** R ** data ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (fmcsR)