Hi Devrim, I have tried with gcc 10.1 on Ubuntu and I checked the logs but did not find any warning. Below is my setup and logs during pgAgent compilation. Is there any specific gcc 10.X version ? Let me know, I can set up and send a patch.
##################### neel@ubuntu:~/Projects/pgagent/build$ c++ --version c++ (Ubuntu 10.1.0-2ubuntu1~18.04) 10.1.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. neel@ubuntu:~/Projects/pgagent/build$ g++ --version g++ (Ubuntu 10.1.0-2ubuntu1~18.04) 10.1.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. neel@ubuntu:~/Projects/pgagent/build$ gcc --version gcc (Ubuntu 10.1.0-2ubuntu1~18.04) 10.1.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. neel@ubuntu:~/Projects/pgagent/build$ PATH=/opt/PostgreSQL/10/bin:$PATH cmake ../ -DSTATIC_BUILD=NO -DCMAKE_PREFIX_PATH=/home/neel/pgagent_install -- The C compiler identification is GNU 10.1.0 -- The CXX compiler identification is GNU 10.1.0 -- 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 -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.65.1 -- Found the following Boost libraries: -- filesystem -- regex -- date_time -- thread -- system -- chrono -- atomic -- -- ================================================================================ -- Configuration summary: -- -- Project : pgagent -- Description : pgAgent is a job scheduling engine for PostgreSQL -- Version : 4.2.0 -- -- PostgreSQL version string : PostgreSQL 10.11 -- PostgreSQL version parts : 10 -- PostgreSQL path : /opt/PostgreSQL/10 -- PostgreSQL config binary : /opt/PostgreSQL/10/bin/pg_config -- PostgreSQL include path : /opt/PostgreSQL/10/include -- PostgreSQL library path : /opt/PostgreSQL/10/lib -- PostgreSQL share path : /opt/PostgreSQL/10/share/postgresql -- -- Boost version : 1.65.1 -- Boost path : /usr/include -- Boost include directory : /usr/include -- Boost library directory : /usr/lib/x86_64-linux-gnu -- Boost Static linking : NO -- ================================================================================ -- -- Configuring done -- Generating done -- Build files have been written to: /home/neel/Projects/pgagent/buildneel@ubuntu:~/Projects/pgagent/build$ make Scanning dependencies of target run [ 11%] Generating pgagent--4.2.sql, pgagent.control [ 11%] Built target run Scanning dependencies of target pgagent [ 22%] Building CXX object CMakeFiles/pgagent.dir/connection.cpp.o [ 33%] Building CXX object CMakeFiles/pgagent.dir/job.cpp.o [ 44%] Building CXX object CMakeFiles/pgagent.dir/misc.cpp.o [ 55%] Building CXX object CMakeFiles/pgagent.dir/pgAgent.cpp.o [ 66%] Building CXX object CMakeFiles/pgagent.dir/precomp.cpp.o [ 77%] Building CXX object CMakeFiles/pgagent.dir/unix.cpp.o [ 88%] Building CXX object CMakeFiles/pgagent.dir/win32.cpp.o [100%] Linking CXX executable pgagent [100%] Built target pgagent ############################################### On Wed, Sep 9, 2020 at 7:39 PM Devrim Gündüz <dev...@gunduz.org> wrote: > > Hi Neel, > > On Fri, 2020-04-24 at 18:15 +0530, Neel Patel wrote: > > I will look into it. > > Any updates? > > Cheers, > -- > Devrim Gündüz > Open Source Solution Architect, Red Hat Certified Engineer > Twitter: @DevrimGunduz , @DevrimGunduzTR >