Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ptt.spec'], chrootPath='/var/lib/mock/689080-fedora-rawhide-x86_64-1513690448.931028/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ptt.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ptt-0-2.20171219.fc28.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ptt.spec'], chrootPath='/var/lib/mock/689080-fedora-rawhide-x86_64-1513690448.931028/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ptt.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Wv2Uby + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PTT_src + /usr/bin/unzip -qq /builddir/build/SOURCES/PTT_src.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd PTT_src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/ptt.dynamic.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X11Coq + umask 022 + cd /builddir/build/BUILD + cd PTT_src + mkdir -p build + pushd build ~/build/BUILD/PTT_src/build ~/build/BUILD/PTT_src + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo ../src -- The C compiler identification is GNU 7.2.1 -- The CXX compiler identification is GNU 7.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/PTT_src/build CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR + /usr/bin/make -O -j2 /usr/bin/cmake -H/builddir/build/BUILD/PTT_src/src -B/builddir/build/BUILD/PTT_src/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/PTT_src/build/CMakeFiles /builddir/build/BUILD/PTT_src/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/ptt.dir/build.make CMakeFiles/ptt.dir/depend make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' cd /builddir/build/BUILD/PTT_src/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/PTT_src/src /builddir/build/BUILD/PTT_src/src /builddir/build/BUILD/PTT_src/build /builddir/build/BUILD/PTT_src/build /builddir/build/BUILD/PTT_src/build/CMakeFiles/ptt.dir/DependInfo.cmake --color= Scanning dependencies of target ptt make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' /usr/bin/make -f CMakeFiles/ptt.dir/build.make CMakeFiles/ptt.dir/build make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [ 14%] Building CXX object CMakeFiles/ptt.dir/CDependency.cpp.o /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -o CMakeFiles/ptt.dir/CDependency.cpp.o -c /builddir/build/BUILD/PTT_src/src/CDependency.cpp make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' In file included from /builddir/build/BUILD/PTT_src/src/CAction.h:16:0, from /builddir/build/BUILD/PTT_src/src/CPlan.h:21, from /builddir/build/BUILD/PTT_src/src/CDependency.h:13, from /builddir/build/BUILD/PTT_src/src/CDependency.cpp:5: /builddir/build/BUILD/PTT_src/src/CPredicate.h:19:1: warning: 'typedef' was ignored in this declaration typedef class CPredicateList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CAction.h:17:0, from /builddir/build/BUILD/PTT_src/src/CPlan.h:21, from /builddir/build/BUILD/PTT_src/src/CDependency.h:13, from /builddir/build/BUILD/PTT_src/src/CDependency.cpp:5: /builddir/build/BUILD/PTT_src/src/CDomain.h:20:1: warning: 'typedef' was ignored in this declaration typedef class CAction; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.h:21:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CPlan.h:21:0, from /builddir/build/BUILD/PTT_src/src/CDependency.h:13, from /builddir/build/BUILD/PTT_src/src/CDependency.cpp:5: /builddir/build/BUILD/PTT_src/src/CAction.h:23:1: warning: 'typedef' was ignored in this declaration typedef class CLearner; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:24:1: warning: 'typedef' was ignored in this declaration typedef class CProblem; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:26:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:27:1: warning: 'typedef' was ignored in this declaration typedef class CDomain; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CDependency.cpp: In member function 'bool CDependency::CanBeAdjacent(int, int, std::deque&)': /builddir/build/BUILD/PTT_src/src/CDependency.cpp:318:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(l=k+1;lGetPars()->Count();j++){ ~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:45:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k=0;kparams->Count();k++){ ~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:64:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;jGetPars()->Count();j++){ ~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:65:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k=0;kparams->Count();k++){ ~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp: In member function 'std::__cxx11::list >* CAction::GetPrologRepresentation()': /builddir/build/BUILD/PTT_src/src/CAction.cpp:122:7: warning: unused variable 'a' [-Wunused-variable] char a[256]; ^ /builddir/build/BUILD/PTT_src/src/CAction.cpp:123:6: warning: unused variable 'i' [-Wunused-variable] int i,j,k,n,n2; ^ /builddir/build/BUILD/PTT_src/src/CAction.cpp:123:8: warning: unused variable 'j' [-Wunused-variable] int i,j,k,n,n2; ^ /builddir/build/BUILD/PTT_src/src/CAction.cpp:123:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k,n,n2; ^ /builddir/build/BUILD/PTT_src/src/CAction.cpp:123:12: warning: unused variable 'n' [-Wunused-variable] int i,j,k,n,n2; ^ /builddir/build/BUILD/PTT_src/src/CAction.cpp:123:14: warning: unused variable 'n2' [-Wunused-variable] int i,j,k,n,n2; ^~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:124:15: warning: unused variable 'pr' [-Wunused-variable] ParamRecord *pr; ^~ /builddir/build/BUILD/PTT_src/src/CAction.cpp: In member function 'CActionList* CAction::MakeAllInstances(CTypes*, CProblem*, bool)': /builddir/build/BUILD/PTT_src/src/CAction.cpp:308:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;iCount();i++){ ~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp: In member function 'void CAction::MakeAllInstancesRec(std::vector >*>*, CParameter*, int, CProblem*, bool, CActionList*)': /builddir/build/BUILD/PTT_src/src/CAction.cpp:343:67: warning: deleting object of polymorphic class type 'CAction' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] if (a->CheckInstance(prob,ents)) ret->AddRecord(a); else delete a; ^ /builddir/build/BUILD/PTT_src/src/CAction.cpp: In member function 'void CAction::GenerateStatGraph()': /builddir/build/BUILD/PTT_src/src/CAction.cpp:373:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;jCount();j++) ~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:374:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k=j+1;kCount();k++){ ~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:385:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;jCount();j++) ~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:386:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k=j+1;kCount();k++){ ~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp: In member function 'void CMacroAction::Initialize(CTypes*)': /builddir/build/BUILD/PTT_src/src/CAction.cpp:567:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;iCount();i++){ ~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:568:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j, std::vector > >* CMacroAction::Unfold(std::vector*, bool)': /builddir/build/BUILD/PTT_src/src/CAction.cpp:625:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;iCount();i++) pars->push_back(i); ~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:632:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;iGetParams()->Count();i++) one.push_back((*pars)[i]); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:637:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;iGetParams()->Count();i++){ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:638:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;jsecond.size();i++) ~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:910:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0;jsecond.size();j++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp: In member function 'bool CMacroAction::VerifyValidity(CActionList*, CTypes*, CLearner*)': /builddir/build/BUILD/PTT_src/src/CAction.cpp:755:32: warning: 's1' may be used uninitialized in this function [-Wmaybe-uninitialized] if (tmppred!=NULL && (x==-1 || x==s1 /*strcasecmp((*acts)[x]->GetActName().data(),(*acts)[i]->GetActName().data()) == 0*/) && (tmppred2==NULL || tmppred2->GetInnerEntanglement()==-1 || tmppred2->GetInnerEntanglement()==i)){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.cpp:705:163: warning: 'f1' may be used uninitialized in this function [-Wmaybe-uninitialized] if (tmppred!=NULL && (tmppred->GetInnerEntanglement()==-1 || tmppred->GetInnerEntanglement()==i) && ((*(*acts)[i]->GetPosEff())[j]->GetInnerEntanglement()==-1 || (*(*acts)[i]->GetPosEff())[j]->GetInnerEntanglement()==f1)/*&& !(*(*acts)[i]->GetPosEff())[j]->IsIndirect() */ /*&& first->GetPrec()->Subsume(tmppred,types)*/) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [ 21%] Building CXX object CMakeFiles/ptt.dir/CDomain.cpp.o /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -o CMakeFiles/ptt.dir/CDomain.cpp.o -c /builddir/build/BUILD/PTT_src/src/CDomain.cpp make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' In file included from /builddir/build/BUILD/PTT_src/src/CDomain.h:12:0, from /builddir/build/BUILD/PTT_src/src/CDomain.cpp:1: /builddir/build/BUILD/PTT_src/src/CPredicate.h:19:1: warning: 'typedef' was ignored in this declaration typedef class CPredicateList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CDomain.h:13:0, from /builddir/build/BUILD/PTT_src/src/CDomain.cpp:1: /builddir/build/BUILD/PTT_src/src/CAction.h:23:1: warning: 'typedef' was ignored in this declaration typedef class CLearner; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:24:1: warning: 'typedef' was ignored in this declaration typedef class CProblem; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:26:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:27:1: warning: 'typedef' was ignored in this declaration typedef class CDomain; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CDomain.cpp:1:0: /builddir/build/BUILD/PTT_src/src/CDomain.h:20:1: warning: 'typedef' was ignored in this declaration typedef class CAction; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.h:21:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp: In member function 'bool CDomain::AreInverse(CAction*, CAction*)': /builddir/build/BUILD/PTT_src/src/CDomain.cpp:228:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k; ^ /builddir/build/BUILD/PTT_src/src/CDomain.cpp: In member function 'bool CDomain::AreInverse(std::__cxx11::string, std::__cxx11::string, std::vector&)': /builddir/build/BUILD/PTT_src/src/CDomain.cpp:248:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k; ^ /builddir/build/BUILD/PTT_src/src/CDomain.cpp: In member function 'void CDomain::InitializeReplMatrix()': /builddir/build/BUILD/PTT_src/src/CDomain.cpp:290:6: warning: unused variable 'i' [-Wunused-variable] int i,j,k; ^ /builddir/build/BUILD/PTT_src/src/CDomain.cpp:290:8: warning: unused variable 'j' [-Wunused-variable] int i,j,k; ^ /builddir/build/BUILD/PTT_src/src/CDomain.cpp:290:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k; ^ /builddir/build/BUILD/PTT_src/src/CDomain.cpp:291:6: warning: unused variable 'n' [-Wunused-variable] int n=GetActions()->Count(); ^ /builddir/build/BUILD/PTT_src/src/CDomain.cpp:292:11: warning: unused variable 'a1' [-Wunused-variable] CAction *a1,*a2,*a3, *ma; ^~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp:292:15: warning: unused variable 'a2' [-Wunused-variable] CAction *a1,*a2,*a3, *ma; ^~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp:292:19: warning: unused variable 'a3' [-Wunused-variable] CAction *a1,*a2,*a3, *ma; ^~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp:292:24: warning: unused variable 'ma' [-Wunused-variable] CAction *a1,*a2,*a3, *ma; ^~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp:293:22: warning: unused variable 'sh_args' [-Wunused-variable] vector *sh_args; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp: In member function 'void CDomain::OutStatic(std::ostream&)': /builddir/build/BUILD/PTT_src/src/CDomain.cpp:328:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k; ^ /builddir/build/BUILD/PTT_src/src/CDomain.cpp:332:7: warning: unused variable 'ineff' [-Wunused-variable] bool ineff; ^~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp: In member function 'void CDomain::OutInv(std::ostream&)': /builddir/build/BUILD/PTT_src/src/CDomain.cpp:380:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k=0;ksize();k++){ ~^~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp: In member function 'void CDomain::OutInc(std::ostream&)': /builddir/build/BUILD/PTT_src/src/CDomain.cpp:401:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k=0;ksize();k++){ ~^~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp: In member function 'void CDomain::OutRepl(std::ostream&)': /builddir/build/BUILD/PTT_src/src/CDomain.cpp:422:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k=0;ksize();k++){ ~^~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp: In member function 'void CDomain::GeneratePDDL(std::ostream&)': /builddir/build/BUILD/PTT_src/src/CDomain.cpp:468:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;jsize();j++){ ~^~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp:470:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k=0;k<(*unfold)[j].second.size();k++){ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp: In member function 'void CDomain::MergePredTypes(CPredicateList*)': /builddir/build/BUILD/PTT_src/src/CDomain.cpp:485:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k=0;k<(*pl)[i]->GetPars()->Count();k++){ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp: In member function 'void CDomain::ImportMacros(std::__cxx11::list, std::vector >*, std::vector, std::vector >*> >*>*)': /builddir/build/BUILD/PTT_src/src/CDomain.cpp:561:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0;j<(*it2)->second.size();j++){ ~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.cpp:562:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((*it2)->second[j]>a->GetParams()->Count()) continue; //parameter is not shared make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [ 35%] Building CXX object CMakeFiles/ptt.dir/common.cpp.o /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -o CMakeFiles/ptt.dir/common.cpp.o -c /builddir/build/BUILD/PTT_src/src/common.cpp make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' In file included from /builddir/build/BUILD/PTT_src/src/CDomain.h:12:0, from /builddir/build/BUILD/PTT_src/src/common.h:13, from /builddir/build/BUILD/PTT_src/src/common.cpp:1: /builddir/build/BUILD/PTT_src/src/CPredicate.h:19:1: warning: 'typedef' was ignored in this declaration typedef class CPredicateList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CDomain.h:13:0, from /builddir/build/BUILD/PTT_src/src/common.h:13, from /builddir/build/BUILD/PTT_src/src/common.cpp:1: /builddir/build/BUILD/PTT_src/src/CAction.h:23:1: warning: 'typedef' was ignored in this declaration typedef class CLearner; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:24:1: warning: 'typedef' was ignored in this declaration typedef class CProblem; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:26:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:27:1: warning: 'typedef' was ignored in this declaration typedef class CDomain; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/common.h:13:0, from /builddir/build/BUILD/PTT_src/src/common.cpp:1: /builddir/build/BUILD/PTT_src/src/CDomain.h:20:1: warning: 'typedef' was ignored in this declaration typedef class CAction; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.h:21:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/common.h:14:0, from /builddir/build/BUILD/PTT_src/src/common.cpp:1: /builddir/build/BUILD/PTT_src/src/CProblem.h: In member function 'ComponentType& ComponentType::operator=(const ComponentType&)': /builddir/build/BUILD/PTT_src/src/CProblem.h:28:16: warning: reference to local variable 'ret' returned [-Wreturn-local-addr] ComponentType ret; ^~~ make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [ 42%] Building CXX object CMakeFiles/ptt.dir/CParameter.cpp.o /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -o CMakeFiles/ptt.dir/CParameter.cpp.o -c /builddir/build/BUILD/PTT_src/src/CParameter.cpp make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' /builddir/build/BUILD/PTT_src/src/CParameter.cpp: In member function 'int CParameter::Find(std::__cxx11::string)': /builddir/build/BUILD/PTT_src/src/CParameter.cpp:75:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;iCount();i++){ ~^~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CParameter.cpp: In member function 'bool CParameter::operator==(CParameter&)': /builddir/build/BUILD/PTT_src/src/CParameter.cpp:86:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;iCount();i++){ ~^~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CParameter.cpp: In member function 'CParameter* CParameter::Clone()': /builddir/build/BUILD/PTT_src/src/CParameter.cpp:101:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;iCount();i++){ ~^~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CParameter.cpp: In member function 'void CParameter::DetectShared(CParameter*, std::vector&)': /builddir/build/BUILD/PTT_src/src/CParameter.cpp:135:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;iCount();i++){ ~^~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CParameter.cpp:136:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;jCount();j++){ ~^~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CParameter.cpp:147:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k=0;ksize();i++){ ~^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [ 50%] Building CXX object CMakeFiles/ptt.dir/CPlan.cpp.o /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -o CMakeFiles/ptt.dir/CPlan.cpp.o -c /builddir/build/BUILD/PTT_src/src/CPlan.cpp In file included from /builddir/build/BUILD/PTT_src/src/CAction.h:16:0, from /builddir/build/BUILD/PTT_src/src/CPlan.h:21, from /builddir/build/BUILD/PTT_src/src/CPlan.cpp:5: /builddir/build/BUILD/PTT_src/src/CPredicate.h:19:1: warning: 'typedef' was ignored in this declaration typedef class CPredicateList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CAction.h:17:0, from /builddir/build/BUILD/PTT_src/src/CPlan.h:21, from /builddir/build/BUILD/PTT_src/src/CPlan.cpp:5: /builddir/build/BUILD/PTT_src/src/CDomain.h:20:1: warning: 'typedef' was ignored in this declaration typedef class CAction; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.h:21:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CPlan.h:21:0, from /builddir/build/BUILD/PTT_src/src/CPlan.cpp:5: /builddir/build/BUILD/PTT_src/src/CAction.h:23:1: warning: 'typedef' was ignored in this declaration typedef class CLearner; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:24:1: warning: 'typedef' was ignored in this declaration typedef class CProblem; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:26:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:27:1: warning: 'typedef' was ignored in this declaration typedef class CDomain; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CPlan.cpp: In member function 'void CPlan::ParsePlanFile(std::__cxx11::string)': /builddir/build/BUILD/PTT_src/src/CPlan.cpp:50:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s1== -1) continue; ~~^~~~~~ /builddir/build/BUILD/PTT_src/src/CPlan.cpp:56:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s2== -1){ ~~^~~~~ /builddir/build/BUILD/PTT_src/src/CPlan.cpp:72:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s1 == -1){ ~~~^~~~~ /builddir/build/BUILD/PTT_src/src/CPlan.cpp:74:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s1== -1) continue; ~~^~~~~~ /builddir/build/BUILD/PTT_src/src/CPlan.cpp:39:23: warning: unused variable 'args2' [-Wunused-variable] deque *args,*args2; //arguments gathered from a single step of the plan (action name and its arguments) ^~~~~ /builddir/build/BUILD/PTT_src/src/CPlan.cpp: In member function 'std::__cxx11::list >* CPlan::GetPrologRepresentation(std::__cxx11::string)': /builddir/build/BUILD/PTT_src/src/CPlan.cpp:96:6: warning: unused variable 'i' [-Wunused-variable] int i,j,n,n2,k; ^ /builddir/build/BUILD/PTT_src/src/CPlan.cpp:96:8: warning: unused variable 'j' [-Wunused-variable] int i,j,n,n2,k; ^ /builddir/build/BUILD/PTT_src/src/CPlan.cpp:96:10: warning: unused variable 'n' [-Wunused-variable] int i,j,n,n2,k; ^ /builddir/build/BUILD/PTT_src/src/CPlan.cpp:96:12: warning: unused variable 'n2' [-Wunused-variable] int i,j,n,n2,k; ^~ /builddir/build/BUILD/PTT_src/src/CPlan.cpp:96:15: warning: unused variable 'k' [-Wunused-variable] int i,j,n,n2,k; ^ /builddir/build/BUILD/PTT_src/src/CPlan.cpp:99:7: warning: unused variable 'a' [-Wunused-variable] char a[256]; ^ /builddir/build/BUILD/PTT_src/src/CPlan.cpp: In member function 'void CPlan::InstantiateActions(CActionList*)': /builddir/build/BUILD/PTT_src/src/CPlan.cpp:130:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;iplan->size();i++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CPlan.cpp: In member function 'bool CPlan::ModifyPlan(std::__cxx11::list&, std::__cxx11::list&, CPredicateList*, CPredicateList*)': /builddir/build/BUILD/PTT_src/src/CPlan.cpp:262:11: warning: unused variable 'correct' [-Wunused-variable] bool correct = tmpdep->CreateDependencies(); ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [ 28%] Building CXX object CMakeFiles/ptt.dir/CLearner.cpp.o /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -o CMakeFiles/ptt.dir/CLearner.cpp.o -c /builddir/build/BUILD/PTT_src/src/CLearner.cpp In file included from /builddir/build/BUILD/PTT_src/src/CAction.h:16:0, from /builddir/build/BUILD/PTT_src/src/CPlan.h:21, from /builddir/build/BUILD/PTT_src/src/CLearner.h:13, from /builddir/build/BUILD/PTT_src/src/CLearner.cpp:5: /builddir/build/BUILD/PTT_src/src/CPredicate.h:19:1: warning: 'typedef' was ignored in this declaration typedef class CPredicateList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CAction.h:17:0, from /builddir/build/BUILD/PTT_src/src/CPlan.h:21, from /builddir/build/BUILD/PTT_src/src/CLearner.h:13, from /builddir/build/BUILD/PTT_src/src/CLearner.cpp:5: /builddir/build/BUILD/PTT_src/src/CDomain.h:20:1: warning: 'typedef' was ignored in this declaration typedef class CAction; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.h:21:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CPlan.h:21:0, from /builddir/build/BUILD/PTT_src/src/CLearner.h:13, from /builddir/build/BUILD/PTT_src/src/CLearner.cpp:5: /builddir/build/BUILD/PTT_src/src/CAction.h:23:1: warning: 'typedef' was ignored in this declaration typedef class CLearner; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:24:1: warning: 'typedef' was ignored in this declaration typedef class CProblem; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:26:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:27:1: warning: 'typedef' was ignored in this declaration typedef class CDomain; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/common.h:14:0, from /builddir/build/BUILD/PTT_src/src/CLearner.cpp:6: /builddir/build/BUILD/PTT_src/src/CProblem.h: In member function 'ComponentType& ComponentType::operator=(const ComponentType&)': /builddir/build/BUILD/PTT_src/src/CProblem.h:28:16: warning: reference to local variable 'ret' returned [-Wreturn-local-addr] ComponentType ret; ^~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'void CLearner::Initialize(short int)': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:40:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;isize();i++) ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'bool CLearner::CreateDependencies()': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:52:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;isize();i++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'void CLearner::FindShrinkableActions(CPlan*, CDependency*, std::__cxx11::list&, std::__cxx11::list&)': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:289:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(k=0;k<(*pi)[j]->GetParams()->Count();k++){ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:290:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(l=0;lsize();l++){ ~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:295:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (l==sh_args->size()) { ~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:302:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k=0;kshared_args->size();k++){ ~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:246:16: warning: unused variable 'ma' [-Wunused-variable] CMacroAction *ma; ^~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:247:32: warning: unused variable 'tmp_sh_args' [-Wunused-variable] vector *sh_args, *tmp_sh_args; ^~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'bool CLearner::OptimizePlan(CPlan*, CDependency*, std::ostream&)': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:323:6: warning: unused variable 'counter' [-Wunused-variable] int counter=0,i; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:323:16: warning: unused variable 'i' [-Wunused-variable] int counter=0,i; ^ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'bool CLearner::OptimizePlans()': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:443:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;isize();i++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:433:20: warning: unused variable 'dep2' [-Wunused-variable] CDependency *dep,*dep2; ^~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'void CLearner::CreateMatrixOfCandidates()': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:497:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k=0;ksize();k++){ //for each problem ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:485:11: warning: variable 'a1' set but not used [-Wunused-but-set-variable] CAction *a1,*a2; ^~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:485:15: warning: variable 'a2' set but not used [-Wunused-but-set-variable] CAction *a1,*a2; ^~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'void CLearner::OutputMatrix(std::ostream&)': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:547:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k=0;kshared_args->size();k++){ ~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'void CLearner::LearnMacros()': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:580:102: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (((*acts)[i]->GetParams()->Count()+(*acts)[j]->GetParams()->Count()-cell->shared_args->size())>PAR_C) continue; /builddir/build/BUILD/PTT_src/src/CLearner.cpp:600:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k=0;ksize();k++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'void CLearner::LearnEntanglements()': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:633:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;isize();i++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:674:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;isize();i++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'void CLearner::LearnInnerEntanglements()': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:778:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;isize();i++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'void CLearner::ApplyEntanglements(bool)': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:933:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;isize();i++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'void CLearner::ApplyInnerEntanglements()': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:1151:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' isize();i++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'void CLearner::GenerateMacrosFromInnerEntanglements(short int*)': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:1222:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k=0;k<(sh_args[nact*i+j]).size();k++){ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'bool CLearner::IsSameAchiever(CAction*, CAction*, CPredicate*)': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:1338:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;isize();i++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:1322:12: warning: unused variable 'q' [-Wunused-variable] int i,j,k,q; ^ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'bool CLearner::IsOneToOne(CAction*, CAction*)': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:1385:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;isize();i++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'void CLearner::LearnMacrosFromCA()': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:1591:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k=0;ksize();k++){ ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:1471:12: warning: unused variable 'inst' [-Wunused-variable] int si,sj,inst,inst2; ^~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp:1471:17: warning: unused variable 'inst2' [-Wunused-variable] int si,sj,inst,inst2; ^~~~~ /builddir/build/BUILD/PTT_src/src/CLearner.cpp: In member function 'void CLearner::EliminateUselessMacros()': /builddir/build/BUILD/PTT_src/src/CLearner.cpp:1847:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (*(frequency+i+rem)*2size()||((CMacroAction*)(*acts)[i])->IsUninformative()){ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [ 57%] Building CXX object CMakeFiles/ptt.dir/CPredicate.cpp.o /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -o CMakeFiles/ptt.dir/CPredicate.cpp.o -c /builddir/build/BUILD/PTT_src/src/CPredicate.cpp make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' In file included from /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:5:0: /builddir/build/BUILD/PTT_src/src/CPredicate.h:19:1: warning: 'typedef' was ignored in this declaration typedef class CPredicateList; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp: In member function 'void CPredicate::GetAllTypesCombinations(std::__cxx11::list >*, int, std::__cxx11::string)': /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:51:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (argno>=this->params->Count()){ //argno reached the limit ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp: In member function 'CPredicateList* CPredicate::MakeAllInstances(CTypes*, CTypes*)': /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:94:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;iCount();i++){ ~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp: In member function 'CPredicate* CPredicate::Instantiate(CParameter*, CParameter*)': /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:166:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;iparams->Count();i++){ ~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp: In member function 'bool CPredicate::Equal(CPredicate*, CParameter*, CParameter*, std::vector&, bool)': /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:220:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;iparams->Count();i++){ ~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:224:91: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } while (strcasecmp((*this->params)[i]->name.data(), (*a1_pars)[j]->name.data())!=0 && jCount()-1); ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:228:88: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } while (strcasecmp((*p->params)[i]->name.data(), (*a2_pars)[k]->name.data())!=0 && kCount()-1); ~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp: In member function 'bool CPredicate::Subsume(CPredicate*, CTypes*, bool)': /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:307:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (n!=p->GetPars()->Count()) {return false;} ~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:313:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k=0;ksize();k++){ ~^~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:314:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (l=0;lsize();l++){ ~^~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:302:7: warning: variable 'ss' set but not used [-Wunused-but-set-variable] bool ss,ss2; ^~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp: In member function 'std::__cxx11::string CPredicate::ToStringSpc()': /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:373:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;iCount();i++){ ~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp: In member function 'bool CPredicate::InstanceOf(CPredicate*, CTypes*)': /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:403:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;iCount();i++){ ~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp: In member function 'bool CPredicateList::DisjunctU(CPredicateList*, CTypes*)': /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:598:6: warning: unused variable 'i' [-Wunused-variable] int i,j; ^ /builddir/build/BUILD/PTT_src/src/CPredicate.cpp: In member function 'bool CPredicateList::PrecondFulfilled(CPredicateList*, std::__cxx11::list&)': /builddir/build/BUILD/PTT_src/src/CPredicate.cpp:512:35: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized] (*prec)[i]->SetInnerEntanglement(d); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [ 71%] Building CXX object CMakeFiles/ptt.dir/CTypes.cpp.o /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -o CMakeFiles/ptt.dir/CTypes.cpp.o -c /builddir/build/BUILD/PTT_src/src/CTypes.cpp make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' /builddir/build/BUILD/PTT_src/src/CTypes.cpp: In member function 'void CTypes::MakeTree()': /builddir/build/BUILD/PTT_src/src/CTypes.cpp:97:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;itypes->size();i++){ ~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CTypes.cpp:100:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;jplistchilds->size();j++){ ~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CTypes.cpp: In member function 'std::__cxx11::string CTypes::ToString()': /builddir/build/BUILD/PTT_src/src/CTypes.cpp:148:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<(*it).plistchilds->size();i++){ ~^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [ 64%] Building CXX object CMakeFiles/ptt.dir/CProblem.cpp.o /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -o CMakeFiles/ptt.dir/CProblem.cpp.o -c /builddir/build/BUILD/PTT_src/src/CProblem.cpp In file included from /builddir/build/BUILD/PTT_src/src/CProblem.h:19:0, from /builddir/build/BUILD/PTT_src/src/CProblem.cpp:5: /builddir/build/BUILD/PTT_src/src/CPredicate.h:19:1: warning: 'typedef' was ignored in this declaration typedef class CPredicateList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CAction.h:17:0, from /builddir/build/BUILD/PTT_src/src/CPlan.h:21, from /builddir/build/BUILD/PTT_src/src/CProblem.h:20, from /builddir/build/BUILD/PTT_src/src/CProblem.cpp:5: /builddir/build/BUILD/PTT_src/src/CDomain.h:20:1: warning: 'typedef' was ignored in this declaration typedef class CAction; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.h:21:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CPlan.h:21:0, from /builddir/build/BUILD/PTT_src/src/CProblem.h:20, from /builddir/build/BUILD/PTT_src/src/CProblem.cpp:5: /builddir/build/BUILD/PTT_src/src/CAction.h:23:1: warning: 'typedef' was ignored in this declaration typedef class CLearner; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:24:1: warning: 'typedef' was ignored in this declaration typedef class CProblem; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:26:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:27:1: warning: 'typedef' was ignored in this declaration typedef class CDomain; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CProblem.cpp:5:0: /builddir/build/BUILD/PTT_src/src/CProblem.h: In member function 'ComponentType& ComponentType::operator=(const ComponentType&)': /builddir/build/BUILD/PTT_src/src/CProblem.h:28:16: warning: reference to local variable 'ret' returned [-Wreturn-local-addr] ComponentType ret; ^~~ /builddir/build/BUILD/PTT_src/src/CProblem.cpp: In member function 'void CProblem::BuildStaticGraph()': /builddir/build/BUILD/PTT_src/src/CProblem.cpp:263:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int xx=0;xx<(*init)[i]->GetPars()->Count();xx++){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CProblem.cpp:274:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int xx=0;xx<(*init)[i]->GetPars()->Count();xx++){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CProblem.cpp:287:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int xx=0;xx<(*goal)[i]->GetPars()->Count();xx++){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CProblem.cpp:314:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(k=0;kGetPars()->Count();k++) ~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CProblem.cpp:315:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(l=0;lGetPars()->Count();l++){ ~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CProblem.cpp: In member function 'void CProblem::BuildAbstractComponents()': /builddir/build/BUILD/PTT_src/src/CProblem.cpp:384:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k=0;kGetPars()->Count();k++){ ~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CProblem.cpp: In member function 'void CProblem::DetermineAllInstancesPredicates()': /builddir/build/BUILD/PTT_src/src/CProblem.cpp:522:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k=0;k<(*preds)[j]->GetPars()->Count();k++){ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CProblem.cpp: In member function 'int CProblem::ObjectsUpperBound(CPredicate*)': /builddir/build/BUILD/PTT_src/src/CProblem.cpp:540:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k=0;kGetPars()->Count();k++){ ~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CProblem.cpp: In member function 'int CProblem::NumberOfPredicates(CPredicate*, bool)': /builddir/build/BUILD/PTT_src/src/CProblem.cpp:574:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;iGetPars()->Count();i++){ ~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/PTT_src/src/CProblem.cpp:590:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;iGetPars()->Count();i++){ ~^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [ 78%] Building CXX object CMakeFiles/ptt.dir/lex.yy.cc.o /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -o CMakeFiles/ptt.dir/lex.yy.cc.o -c /builddir/build/BUILD/PTT_src/src/lex.yy.cc make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' In file included from /builddir/build/BUILD/PTT_src/src/CDomain.h:12:0, from /builddir/build/BUILD/PTT_src/src/common.h:13, from pddlconvertor.l:6: /builddir/build/BUILD/PTT_src/src/CPredicate.h:19:1: warning: 'typedef' was ignored in this declaration typedef class CPredicateList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CDomain.h:13:0, from /builddir/build/BUILD/PTT_src/src/common.h:13, from pddlconvertor.l:6: /builddir/build/BUILD/PTT_src/src/CAction.h:23:1: warning: 'typedef' was ignored in this declaration typedef class CLearner; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:24:1: warning: 'typedef' was ignored in this declaration typedef class CProblem; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:26:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:27:1: warning: 'typedef' was ignored in this declaration typedef class CDomain; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/common.h:13:0, from pddlconvertor.l:6: /builddir/build/BUILD/PTT_src/src/CDomain.h:20:1: warning: 'typedef' was ignored in this declaration typedef class CAction; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.h:21:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/common.h:14:0, from pddlconvertor.l:6: /builddir/build/BUILD/PTT_src/src/CProblem.h: In member function 'ComponentType& ComponentType::operator=(const ComponentType&)': /builddir/build/BUILD/PTT_src/src/CProblem.h:28:16: warning: reference to local variable 'ret' returned [-Wreturn-local-addr] ComponentType ret; ^~~ lex.yy.c: At global scope: lex.yy.c:1588:17: warning: 'void yyunput(int, char*)' defined but not used [-Wunused-function] make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [ 92%] Building CXX object CMakeFiles/ptt.dir/pddlconvertor.tab.cpp.o /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -o CMakeFiles/ptt.dir/pddlconvertor.tab.cpp.o -c /builddir/build/BUILD/PTT_src/src/pddlconvertor.tab.cpp In file included from /builddir/build/BUILD/PTT_src/src/CDomain.h:12:0, from /builddir/build/BUILD/PTT_src/src/common.h:13, from pddlconvertor.ypp:8: /builddir/build/BUILD/PTT_src/src/CPredicate.h:19:1: warning: 'typedef' was ignored in this declaration typedef class CPredicateList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CDomain.h:13:0, from /builddir/build/BUILD/PTT_src/src/common.h:13, from pddlconvertor.ypp:8: /builddir/build/BUILD/PTT_src/src/CAction.h:23:1: warning: 'typedef' was ignored in this declaration typedef class CLearner; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:24:1: warning: 'typedef' was ignored in this declaration typedef class CProblem; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:26:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:27:1: warning: 'typedef' was ignored in this declaration typedef class CDomain; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/common.h:13:0, from pddlconvertor.ypp:8: /builddir/build/BUILD/PTT_src/src/CDomain.h:20:1: warning: 'typedef' was ignored in this declaration typedef class CAction; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.h:21:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/common.h:14:0, from pddlconvertor.ypp:8: /builddir/build/BUILD/PTT_src/src/CProblem.h: In member function 'ComponentType& ComponentType::operator=(const ComponentType&)': /builddir/build/BUILD/PTT_src/src/CProblem.h:28:16: warning: reference to local variable 'ret' returned [-Wreturn-local-addr] ComponentType ret; ^~~ pddlconvertor.tab.cpp: In function 'int yyparse()': pddlconvertor.tab.cpp:2203:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pddlconvertor.tab.cpp:2347:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [ 85%] Building CXX object CMakeFiles/ptt.dir/main.cpp.o /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -o CMakeFiles/ptt.dir/main.cpp.o -c /builddir/build/BUILD/PTT_src/src/main.cpp In file included from /builddir/build/BUILD/PTT_src/src/CDomain.h:12:0, from /builddir/build/BUILD/PTT_src/src/common.h:13, from /builddir/build/BUILD/PTT_src/src/main.cpp:3: /builddir/build/BUILD/PTT_src/src/CPredicate.h:19:1: warning: 'typedef' was ignored in this declaration typedef class CPredicateList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/CDomain.h:13:0, from /builddir/build/BUILD/PTT_src/src/common.h:13, from /builddir/build/BUILD/PTT_src/src/main.cpp:3: /builddir/build/BUILD/PTT_src/src/CAction.h:23:1: warning: 'typedef' was ignored in this declaration typedef class CLearner; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:24:1: warning: 'typedef' was ignored in this declaration typedef class CProblem; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:26:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CAction.h:27:1: warning: 'typedef' was ignored in this declaration typedef class CDomain; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/common.h:13:0, from /builddir/build/BUILD/PTT_src/src/main.cpp:3: /builddir/build/BUILD/PTT_src/src/CDomain.h:20:1: warning: 'typedef' was ignored in this declaration typedef class CAction; ^~~~~~~ /builddir/build/BUILD/PTT_src/src/CDomain.h:21:1: warning: 'typedef' was ignored in this declaration typedef class CActionList; ^~~~~~~ In file included from /builddir/build/BUILD/PTT_src/src/common.h:14:0, from /builddir/build/BUILD/PTT_src/src/main.cpp:3: /builddir/build/BUILD/PTT_src/src/CProblem.h: In member function 'ComponentType& ComponentType::operator=(const ComponentType&)': /builddir/build/BUILD/PTT_src/src/CProblem.h:28:16: warning: reference to local variable 'ret' returned [-Wreturn-local-addr] ComponentType ret; ^~~ /builddir/build/BUILD/PTT_src/src/main.cpp: In function 'void GenerateBatchFilesForPlanners()': /builddir/build/BUILD/PTT_src/src/main.cpp:297:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (p.find("%d")!= -1) {p.replace(p.find("%d"),2,data.pdom->GetOrigFileName());} ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/PTT_src/src/main.cpp:299:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (p.find("%o")!= -1) {p.replace(p.find("%o"),2,(*data.pprob)[i]->GetName()+"-orig.out");} ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/PTT_src/src/main.cpp:304:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (p.find("%d")!= -1) {p.replace(p.find("%d"),2,ToLower(data.pdom->GetName())+"-upddom.pddl");} ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/PTT_src/src/main.cpp:306:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (p.find("%o")!= -1) {p.replace(p.find("%o"),2,(*data.pprob)[i]->GetName()+"-updated.out");} ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/PTT_src/src/main.cpp:311:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (p.find("%d")!= -1) {p.replace(p.find("%d"),2,ToLower(data.pdom->GetName())+"-2-upddom.pddl");} ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/PTT_src/src/main.cpp:313:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (p.find("%o")!= -1) {p.replace(p.find("%o"),2,(*data.pprob)[i]->GetName()+"-updated-2.out");} ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/PTT_src/src/main.cpp: In function 'int main(int, char**)': /builddir/build/BUILD/PTT_src/src/main.cpp:396:35: warning: unused variable 'end' [-Wunused-variable] clock_t begin, parsed, learning, end; ^~~ make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' make[2]: Entering directory '/builddir/build/BUILD/PTT_src/build' [100%] Linking CXX executable ptt /usr/bin/cmake -E cmake_link_script CMakeFiles/ptt.dir/link.txt --verbose=1 /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -O2 -g -DNDEBUG -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/ptt.dir/CAction.cpp.o CMakeFiles/ptt.dir/CDependency.cpp.o CMakeFiles/ptt.dir/CDomain.cpp.o CMakeFiles/ptt.dir/CLearner.cpp.o CMakeFiles/ptt.dir/common.cpp.o CMakeFiles/ptt.dir/CParameter.cpp.o CMakeFiles/ptt.dir/CPlan.cpp.o CMakeFiles/ptt.dir/CPredicate.cpp.o CMakeFiles/ptt.dir/CProblem.cpp.o CMakeFiles/ptt.dir/CTypes.cpp.o CMakeFiles/ptt.dir/lex.yy.cc.o CMakeFiles/ptt.dir/pddlconvertor.tab.cpp.o CMakeFiles/ptt.dir/main.cpp.o -o ptt make[2]: Leaving directory '/builddir/build/BUILD/PTT_src/build' make[1]: Entering directory '/builddir/build/BUILD/PTT_src/build' [100%] Built target ptt make[1]: Leaving directory '/builddir/build/BUILD/PTT_src/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/PTT_src/build/CMakeFiles 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QTfbJm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ptt-0-2.20171219.fc28.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ptt-0-2.20171219.fc28.x86_64 ++ dirname /builddir/build/BUILDROOT/ptt-0-2.20171219.fc28.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ptt-0-2.20171219.fc28.x86_64 + cd PTT_src + install -p -m755 -D build/ptt /builddir/build/BUILDROOT/ptt-0-2.20171219.fc28.x86_64//usr/bin/ptt + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0-2.20171219.fc28 --unique-debug-suffix -0-2.20171219.fc28.x86_64 --unique-debug-src-base ptt-0-2.20171219.fc28.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/PTT_src extracting debug info from /builddir/build/BUILDROOT/ptt-0-2.20171219.fc28.x86_64/usr/bin/ptt /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. cpio: build/lex.yy.c: Cannot stat: No such file or directory cpio: build/pddlconvertor.l: Cannot stat: No such file or directory cpio: build/pddlconvertor.tab.cpp: Cannot stat: No such file or directory cpio: build/pddlconvertor.tab.hpp: Cannot stat: No such file or directory cpio: build/pddlconvertor.ypp: Cannot stat: No such file or directory 421 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: ptt-0-2.20171219.fc28.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1b75km + umask 022 + cd /builddir/build/BUILD + cd PTT_src + DOCDIR=/builddir/build/BUILDROOT/ptt-0-2.20171219.fc28.x86_64/usr/share/doc/ptt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ptt-0-2.20171219.fc28.x86_64/usr/share/doc/ptt + cp -pr README /builddir/build/BUILDROOT/ptt-0-2.20171219.fc28.x86_64/usr/share/doc/ptt + exit 0 Provides: ptt = 0-2.20171219.fc28 ptt(x86-64) = 0-2.20171219.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: ptt-debugsource-0-2.20171219.fc28.x86_64 Provides: ptt-debugsource = 0-2.20171219.fc28 ptt-debugsource(x86-64) = 0-2.20171219.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ptt-debuginfo-0-2.20171219.fc28.x86_64 Provides: debuginfo(build-id) = 4274867881538845d19b0fba18e9c80e5d9ac61b ptt-debuginfo = 0-2.20171219.fc28 ptt-debuginfo(x86-64) = 0-2.20171219.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ptt-debugsource(x86-64) = 0-2.20171219.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ptt-0-2.20171219.fc28.x86_64 Wrote: /builddir/build/RPMS/ptt-0-2.20171219.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/ptt-debugsource-0-2.20171219.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/ptt-debuginfo-0-2.20171219.fc28.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CMB2Xo + umask 022 + cd /builddir/build/BUILD + cd PTT_src + /usr/bin/rm -rf /builddir/build/BUILDROOT/ptt-0-2.20171219.fc28.x86_64 + exit 0 Child return code was: 0