Description:
/bin/bash ../../libtool --preserve-dup-deps --tag=CXX --mode=compile gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"\"" -DDATADIR="\"\"" -DSHAREDIR="\"\"" -DLIBDIR="\"\"" -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../sql -I../../regex -g -DSAFE_MUTEX -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX -O1 -Wuninitialized -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT stream.lo -MD -MP -MF .deps/stream.Tpo -c -o stream.lo stream.cc
/bin/bash ../../libtool --preserve-dup-deps --tag=CXX --mode=compile gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"\"" -DDATADIR="\"\"" -DSHAREDIR="\"\"" -DLIBDIR="\"\"" -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../sql -I../../regex -g -DSAFE_MUTEX -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX -O1 -Wuninitialized -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT logger.lo -MD -MP -MF .deps/logger.Tpo -c -o logger.lo logger.cc
gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\"\" -DDATADIR=\"\" -DSHAREDIR=\"\" -DLIBDIR=\"\" -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../sql -I../../regex -g -DSAFE_MUTEX -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX -O1 -Wuninitialized -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT stream.lo -MD -MP -MF .deps/stream.Tpo -c stream.cc -fPIC -DPIC -o .libs/stream.o
gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\"\" -DDATADIR=\"\" -DSHAREDIR=\"\" -DLIBDIR=\"\" -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../sql -I../../regex -g -DSAFE_MUTEX -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX -O1 -Wuninitialized -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT logger.lo -MD -MP -MF .deps/logger.Tpo -c logger.cc -fPIC -DPIC -o .libs/logger.o
In file included from stream.h:7,
from stream.cc:5:
../../sql/backup/image_info.h: In member function 'time_t backup::Image_info::get_vp_time() const':
../../sql/backup/image_info.h:763: error: invalid operands of types 'time_t' and 'char* ()(int, int)' to binary 'operator-'
In file included from logger.cc:4:
image_info.h: In member function 'time_t backup::Image_info::get_vp_time() const':
image_info.h:763: error: invalid operands of types 'time_t' and 'char* ()(int, int)' to binary 'operator-'
gmake[3]: *** [stream.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: *** [logger.lo] Error 1
gmake[3]: Leaving directory `/usr/home/miracee/mysqlsrc/msqlbackupsrc/sql/backup'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/home/miracee/mysqlsrc/msqlbackupsrc/sql'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/home/miracee/mysqlsrc/msqlbackupsrc/sql'
gmake: *** [all-recursive] Error 1
How to repeat:
./BUILD/compile-amd64-debug-max-no-ndb --prefix=<your prefix> -c
gmake
Suggested fix:
...