compilation on ubuntu 19.10 fails
this is the error log:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../src/lib/dhcpsrv -I../../.. -I../../../src/lib -I../../../../src/lib -DDHCP_DATA_DIR=\"/var/lib/kea\" -DTOP_BUILDDIR=\"../../..\" -DKEA_LFC_EXECUTABLE=\"/usr/sbin/kea-lfc\" -I/usr/include/mysql -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -I/usr/include/postgresql -I/usr/include/postgresql/11/server -Wdate-time -D_FORTIFY_SOURCE=2 -DOS_LINUX -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pthread -Wno-missing-field-initializers -fPIC -g -O2 -fdebug-prefix-map=/home/vagrant/kea-src/kea-1.7.3=. -fstack-protector-strong -Wformat -Werror=format-security -c ../../../../src/lib/dhcpsrv/pgsql_lease_mgr.cc -fPIC -DPIC -o .libs/libkea_dhcpsrv_la-pgsql_lease_mgr.o
../../../../src/lib/dhcpsrv/mysql_host_data_source.cc: In static member function 'static void {anonymous}::MySqlHostExchange::setErrorIndicators(std::vector<MYSQL_BIND>&, std::vector<bool>&)':
../../../../src/lib/dhcpsrv/mysql_host_data_source.cc:191:61: error: taking address of rvalue [-fpermissive]
191 | bind[i].error = reinterpret_cast<char*>(&error[i]);
| ^
../../../../src/lib/dhcpsrv/mysql_host_data_source.cc:191:29: error: cannot convert 'char*' to 'bool*' in assignment
191 | bind[i].error = reinterpret_cast<char*>(&error[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char*
../../../../src/lib/dhcpsrv/mysql_lease_mgr.cc: In static member function 'static void isc::dhcp::MySqlLeaseExchange::setErrorIndicators(MYSQL_BIND*, my_bool*, size_t)':
../../../../src/lib/dhcpsrv/mysql_lease_mgr.cc:362:29: error: cannot convert 'char*' to 'bool*' in assignment
362 | bind[i].error = reinterpret_cast<char*>(&error[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char*