I'm seeing the following error when building for EPEL 7 (CentOS/SL/Etc)

/usr/bin/c++   -DBIGSYM=1 -DCMAKE_BUILD -DQT5 -DQT_CORE_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT
-DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DUDP_STATIC_DEFINE
-DUNIX -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic  -Wall -Wextra -fexceptions -frtti -Wno-pragmas
-fopenmp --std=gnu++11 -pthread -DNDEBUG -fdata-sections
-ffunction-sections -I/builddir/build/BUILD/wsjtx-2.0.0-rc4/wsjtx/build
-I/builddir/build/BUILD/wsjtx-2.0.0-rc4/wsjtx -I/usr/include/libusb-1.0
-I/builddir/build/BUILD/wsjtx-2.0.0-rc4/wsjtx/boost
-I/builddir/build/BUILD/wsjtx-2.0.0-rc4/wsjtx/qcustomplot-source
-I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui
-I/usr/include/qt5/QtCore -I/usr/lib64/qt5/./mkspecs/linux-g++
-I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtNetwork
-I/usr/include/qt5/QtSql    -fPIC  -include wsjtx_config.h -o
CMakeFiles/wsjt_qt.dir/models/FoxLog.cpp.o -c
/builddir/build/BUILD/wsjtx-2.0.0-rc4/wsjtx/models/FoxLog.cpp
BUILDSTDERR: In file included from
/builddir/build/BUILD/wsjtx-2.0.0-rc4/wsjtx/models/FoxLog.cpp:13:0:
BUILDSTDERR: /builddir/build/BUILD/wsjtx-2.0.0-rc4/wsjtx/qt_db_helpers.hpp:
In constructor
'ConditionalTransaction::ConditionalTransaction(QSqlTableModel&)':
BUILDSTDERR:
/builddir/build/BUILD/wsjtx-2.0.0-rc4/wsjtx/qt_db_helpers.hpp:29:24: error:
invalid initialization of non-const reference of type 'QSqlTableModel&'
from an rvalue of type '<brace-enclosed initializer list>'

Ideas?
Thanks,
Richard
KF5OIM
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to