Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xdrawchem.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667520639.855450/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_pkz5bh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_pkz5bh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'acf98cc6f472421dbf18b7d9f265bdb9', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667520639.855450/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_pkz5bh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xdrawchem.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/xdrawchem-1.10.2-8.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xdrawchem.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667520639.855450/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_pkz5bh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_pkz5bh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a96abf80abe64f52ac9c05b065f6e43b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667520639.855450/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_pkz5bh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xdrawchem.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jAXKKB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xdrawchem-1.10.2-1/xdrawchem-qt5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xdrawchem-1.10.2-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xdrawchem-1.10.2-1/xdrawchem-qt5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xdrawchem-cxxflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xdrawchem-warn.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xdrawchem-porting_to_openbabel3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wkMKR1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xdrawchem-1.10.2-1/xdrawchem-qt5 + /usr/lib64/qt5/bin/qmake 'QMAKE_CFLAGS_DEBUG=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'QMAKE_CFLAGS_RELEASE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'QMAKE_CXXFLAGS_DEBUG=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'QMAKE_CXXFLAGS_RELEASE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' QMAKE_STRIP= PREFIX=/usr Info: creating stash file /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.qmake.stash + /usr/bin/make -O -j2 V=1 VERBOSE=1 g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/application_ob.o xdrawchem/application_ob.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/application_ob.cpp:10: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/chemdata.h:10: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/application_ob.cpp:11: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/fstream:38, from xdrawchem/application_ob.cpp:2: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/application.o xdrawchem/application.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/application.cpp:29: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/application.cpp:27: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/crings_dialog.h:29, from xdrawchem/application.cpp:38: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qdatetime.h:44, from /usr/include/qt5/QtCore/QDateTime:1, from xdrawchem/application.cpp:11: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ xdrawchem/application.cpp: In member function 'void ApplicationWindow::showTextButtons(QFont)': xdrawchem/application.cpp:1239:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1239 | if ( infont.pointSize() == 10 ) | ^~ xdrawchem/application.cpp:1240:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1240 | fontSizeList->setCurrentIndex( 1 ); if ( infont.family().toLower() == QString( "courier" ) ) | ^~ In file included from xdrawchem/application.cpp:101: xdrawchem/newman-eclipse.xpm: At global scope: xdrawchem/newman-eclipse.xpm:2:21: warning: 'newman_eclipse_xpm' defined but not used [-Wunused-variable] 2 | static const char * newman_eclipse_xpm[] = { | ^~~~~~~~~~~~~~~~~~ In file included from xdrawchem/application.cpp:100: xdrawchem/newman-anti.xpm:2:21: warning: 'newman_anti_xpm' defined but not used [-Wunused-variable] 2 | static const char * newman_anti_xpm[] = { | ^~~~~~~~~~~~~~~ In file included from xdrawchem/application.cpp:99: xdrawchem/newman.xpm:2:21: warning: 'newman_xpm' defined but not used [-Wunused-variable] 2 | static const char * newman_xpm[] = { | ^~~~~~~~~~ In file included from xdrawchem/application.cpp:98: xdrawchem/symbol_xpm.h:575:20: warning: 'hl_bead_xpm' defined but not used [-Wunused-variable] 575 | static const char *hl_bead_xpm[] = { | ^~~~~~~~~~~ xdrawchem/symbol_xpm.h:441:20: warning: 'bead_xpm' defined but not used [-Wunused-variable] 441 | static const char *bead_xpm[] = { | ^~~~~~~~ xdrawchem/symbol_xpm.h:414:21: warning: 'hl_p_orbital_xpm' defined but not used [-Wunused-variable] 414 | static const char * hl_p_orbital_xpm[] = { | ^~~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:391:21: warning: 'hl_sym_minus_xpm' defined but not used [-Wunused-variable] 391 | static const char * hl_sym_minus_xpm[] = { | ^~~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:369:21: warning: 'hl_sym_plus_xpm' defined but not used [-Wunused-variable] 369 | static const char * hl_sym_plus_xpm[] = { | ^~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:347:21: warning: 'hl_sym_2e_xpm' defined but not used [-Wunused-variable] 347 | static const char * hl_sym_2e_xpm[] = { | ^~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:325:21: warning: 'hl_sym_1e_xpm' defined but not used [-Wunused-variable] 325 | static const char * hl_sym_1e_xpm[] = { | ^~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:302:21: warning: 'hl_sym_delta_minus_xpm' defined but not used [-Wunused-variable] 302 | static const char * hl_sym_delta_minus_xpm[] = { | ^~~~~~~~~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:279:21: warning: 'hl_sym_delta_plus_xpm' defined but not used [-Wunused-variable] 279 | static const char * hl_sym_delta_plus_xpm[] = { | ^~~~~~~~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:248:21: warning: 'sym_ring_up_xpm' defined but not used [-Wunused-variable] 248 | static const char * sym_ring_up_xpm[] = { | ^~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:226:21: warning: 'sym_minus_xpm' defined but not used [-Wunused-variable] 226 | static const char * sym_minus_xpm[] = { | ^~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:204:21: warning: 'sym_plus_xpm' defined but not used [-Wunused-variable] 204 | static const char * sym_plus_xpm[] = { | ^~~~~~~~~~~~ xdrawchem/symbol_xpm.h:182:21: warning: 'sym_2e_line_xpm' defined but not used [-Wunused-variable] 182 | static const char * sym_2e_line_xpm[] = { | ^~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:160:21: warning: 'sym_2e_xpm' defined but not used [-Wunused-variable] 160 | static const char * sym_2e_xpm[] = { | ^~~~~~~~~~ xdrawchem/symbol_xpm.h:137:21: warning: 'sym_1e_xpm' defined but not used [-Wunused-variable] 137 | static const char * sym_1e_xpm[] = { | ^~~~~~~~~~ xdrawchem/symbol_xpm.h:114:21: warning: 'sym_delta_minus_xpm' defined but not used [-Wunused-variable] 114 | static const char * sym_delta_minus_xpm[] = { | ^~~~~~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:91:21: warning: 'sym_delta_plus_xpm' defined but not used [-Wunused-variable] 91 | static const char * sym_delta_plus_xpm[] = { | ^~~~~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:68:21: warning: 'sym_antibody' defined but not used [-Wunused-variable] 68 | static const char * sym_antibody[] = { | ^~~~~~~~~~~~ xdrawchem/symbol_xpm.h:41:21: warning: 'p_orbital_xpm' defined but not used [-Wunused-variable] 41 | static const char * p_orbital_xpm[] = { | ^~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:4:21: warning: 'p_double_xpm' defined but not used [-Wunused-variable] 4 | static const char * p_double_xpm[] = { | ^~~~~~~~~~~~ In file included from xdrawchem/application.cpp:91: xdrawchem/rings.h:240:20: warning: 'n6ring_boat' defined but not used [-Wunused-variable] 240 | static const char *n6ring_boat[] = { | ^~~~~~~~~~~ xdrawchem/rings.h:206:20: warning: 'n6ring_chair' defined but not used [-Wunused-variable] 206 | static const char *n6ring_chair[] = | ^~~~~~~~~~~~ xdrawchem/rings.h:172:20: warning: 'n6ring_benzene' defined but not used [-Wunused-variable] 172 | static const char *n6ring_benzene[] = | ^~~~~~~~~~~~~~ xdrawchem/rings.h:138:20: warning: 'n6ring' defined but not used [-Wunused-variable] 138 | static const char *n6ring[] = | ^~~~~~ xdrawchem/rings.h:104:20: warning: 'n5ring_diene' defined but not used [-Wunused-variable] 104 | static const char *n5ring_diene[] = | ^~~~~~~~~~~~ xdrawchem/rings.h:70:20: warning: 'n5ring' defined but not used [-Wunused-variable] 70 | static const char *n5ring[] = | ^~~~~~ xdrawchem/rings.h:36:20: warning: 'n4ring' defined but not used [-Wunused-variable] 36 | static const char *n4ring[] = | ^~~~~~ xdrawchem/rings.h:2:20: warning: 'n3ring' defined but not used [-Wunused-variable] 2 | static const char *n3ring[] = | ^~~~~~ In file included from xdrawchem/application.cpp:88: xdrawchem/symboltool.xpm:3:20: warning: 'symboltool' defined but not used [-Wunused-variable] 3 | static const char *symboltool[] = | ^~~~~~~~~~ In file included from xdrawchem/application.cpp:87: xdrawchem/ringtool.xpm:2:20: warning: 'ringtool' defined but not used [-Wunused-variable] 2 | static const char *ringtool[] = | ^~~~~~~~ In file included from xdrawchem/application.cpp:86: xdrawchem/brackettool.xpm:2:20: warning: 'brackettool' defined but not used [-Wunused-variable] 2 | static const char *brackettool[] = | ^~~~~~~~~~~ In file included from xdrawchem/application.cpp:85: xdrawchem/curvearrowtool.xpm:2:21: warning: 'curvearrowtool_xpm' defined but not used [-Wunused-variable] 2 | static const char * curvearrowtool_xpm[] = { | ^~~~~~~~~~~~~~~~~~ In file included from xdrawchem/application.cpp:84: xdrawchem/arrowtool.xpm:2:20: warning: 'arrowtool' defined but not used [-Wunused-variable] 2 | static const char *arrowtool[] = | ^~~~~~~~~ In file included from xdrawchem/application.cpp:83: xdrawchem/texttool.xpm:2:20: warning: 'texttool' defined but not used [-Wunused-variable] 2 | static const char *texttool[] = | ^~~~~~~~ In file included from xdrawchem/application.cpp:82: xdrawchem/wavytool.xpm:2:20: warning: 'wavytool' defined but not used [-Wunused-variable] 2 | static const char *wavytool[] = | ^~~~~~~~ In file included from xdrawchem/application.cpp:81: xdrawchem/downtool.xpm:2:20: warning: 'downtool' defined but not used [-Wunused-variable] 2 | static const char *downtool[] = | ^~~~~~~~ In file included from xdrawchem/application.cpp:80: xdrawchem/uptool.xpm:2:20: warning: 'uptool' defined but not used [-Wunused-variable] 2 | static const char *uptool[] = | ^~~~~~ In file included from xdrawchem/application.cpp:79: xdrawchem/chaintool.xpm:2:20: warning: 'chaintool' defined but not used [-Wunused-variable] 2 | static const char *chaintool[] = | ^~~~~~~~~ In file included from xdrawchem/application.cpp:78: xdrawchem/dashtool.xpm:3:20: warning: 'dashtool' defined but not used [-Wunused-variable] 3 | static const char *dashtool[] = | ^~~~~~~~ In file included from xdrawchem/application.cpp:77: xdrawchem/linetool.xpm:2:20: warning: 'linetool' defined but not used [-Wunused-variable] 2 | static const char *linetool[] = | ^~~~~~~~ In file included from xdrawchem/application.cpp:76: xdrawchem/erasetool.xpm:2:20: warning: 'eraseIcon' defined but not used [-Wunused-variable] 2 | static const char *eraseIcon[] = | ^~~~~~~~~ In file included from xdrawchem/application.cpp:75: xdrawchem/lassotool.xpm:2:20: warning: 'lassotool' defined but not used [-Wunused-variable] 2 | static const char *lassotool[] = | ^~~~~~~~~ In file included from xdrawchem/application.cpp:74: xdrawchem/selecttool.xpm:2:20: warning: 'selecttool' defined but not used [-Wunused-variable] 2 | static const char *selecttool[] = | ^~~~~~~~~~ In file included from xdrawchem/application.cpp:71: xdrawchem/magnifytools.h:28:21: warning: 'magnify_minus_xpm' defined but not used [-Wunused-variable] 28 | static const char * magnify_minus_xpm[] = { | ^~~~~~~~~~~~~~~~~ xdrawchem/magnifytools.h:4:21: warning: 'magnify_plus_xpm' defined but not used [-Wunused-variable] 4 | static const char * magnify_plus_xpm[] = { | ^~~~~~~~~~~~~~~~ In file included from xdrawchem/application.cpp:70: xdrawchem/justifytools.h:38:21: warning: 'justifycentertool_xpm' defined but not used [-Wunused-variable] 38 | static const char * justifycentertool_xpm[] = { | ^~~~~~~~~~~~~~~~~~~~~ xdrawchem/justifytools.h:20:21: warning: 'justifyrighttool_xpm' defined but not used [-Wunused-variable] 20 | static const char * justifyrighttool_xpm[] = { | ^~~~~~~~~~~~~~~~~~~~ xdrawchem/justifytools.h:2:21: warning: 'justifylefttool_xpm' defined but not used [-Wunused-variable] 2 | static const char * justifylefttool_xpm[] = { | ^~~~~~~~~~~~~~~~~~~ In file included from xdrawchem/application.cpp:69: xdrawchem/subscript.xpm:2:21: warning: 'subscript_xpm' defined but not used [-Wunused-variable] 2 | static const char * subscript_xpm[] = { | ^~~~~~~~~~~~~ In file included from xdrawchem/application.cpp:68: xdrawchem/superscript.xpm:2:21: warning: 'superscript_xpm' defined but not used [-Wunused-variable] 2 | static const char * superscript_xpm[] = { | ^~~~~~~~~~~~~~~ In file included from xdrawchem/application.cpp:67: xdrawchem/underlinetool.xpm:2:21: warning: 'underlinetool_xpm' defined but not used [-Wunused-variable] 2 | static const char * underlinetool_xpm[] = { | ^~~~~~~~~~~~~~~~~ In file included from xdrawchem/application.cpp:66: xdrawchem/italictool.xpm:2:21: warning: 'italictool_xpm' defined but not used [-Wunused-variable] 2 | static const char * italictool_xpm[] = { | ^~~~~~~~~~~~~~ In file included from xdrawchem/application.cpp:65: xdrawchem/boldtool.xpm:2:21: warning: 'boldtool_xpm' defined but not used [-Wunused-variable] 2 | static const char * boldtool_xpm[] = { | ^~~~~~~~~~~~ In file included from xdrawchem/application.cpp:62: xdrawchem/lines.h:94:20: warning: 'line5' defined but not used [-Wunused-variable] 94 | static const char *line5[] = | ^~~~~ xdrawchem/lines.h:71:20: warning: 'line4' defined but not used [-Wunused-variable] 71 | static const char *line4[] = | ^~~~~ xdrawchem/lines.h:48:20: warning: 'line3' defined but not used [-Wunused-variable] 48 | static const char *line3[] = | ^~~~~ xdrawchem/lines.h:25:20: warning: 'line2' defined but not used [-Wunused-variable] 25 | static const char *line2[] = | ^~~~~ In file included from xdrawchem/application.cpp:59: xdrawchem/pastetool.xpm:3:20: warning: 'pastetool' defined but not used [-Wunused-variable] 3 | static const char *pastetool[] = | ^~~~~~~~~ In file included from xdrawchem/application.cpp:58: xdrawchem/copytool.xpm:3:20: warning: 'copytool' defined but not used [-Wunused-variable] 3 | static const char *copytool[] = | ^~~~~~~~ In file included from xdrawchem/application.cpp:57: xdrawchem/cuttool.xpm:3:20: warning: 'cuttool' defined but not used [-Wunused-variable] 3 | static const char *cuttool[] = | ^~~~~~~ In file included from xdrawchem/application.cpp:56: xdrawchem/fileprint.xpm:2:20: warning: 'fileprint' defined but not used [-Wunused-variable] 2 | static const char *fileprint[] = { | ^~~~~~~~~ In file included from xdrawchem/application.cpp:55: xdrawchem/fileopen.xpm:2:20: warning: 'fileopen' defined but not used [-Wunused-variable] 2 | static const char *fileopen[] = { | ^~~~~~~~ In file included from xdrawchem/application.cpp:54: xdrawchem/filesave.xpm:2:20: warning: 'filesave' defined but not used [-Wunused-variable] 2 | static const char *filesave[] = { | ^~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/application_ring.o xdrawchem/application_ring.cpp In file included from xdrawchem/application_ring.cpp:9: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/prefs.h:6: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/arrow.o xdrawchem/arrow.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/arrow.cpp:3: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/biotools.o xdrawchem/biotools.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/biotools.h:7, from xdrawchem/biotools.cpp:2: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/bond.o xdrawchem/bond.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.cpp:3: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/bondedit.o xdrawchem/bondedit.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/bracket.o xdrawchem/bracket.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bracket.cpp:3: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/bracket.cpp: In member function 'virtual DPoint* Bracket::FindNearestPoint(DPoint*, double&)': xdrawchem/bracket.cpp:235:45: warning: unused parameter 'target' [-Wunused-parameter] 235 | DPoint *Bracket::FindNearestPoint( DPoint * target, double &dist ) | ~~~~~~~~~^~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/cdx2cdxml.o xdrawchem/cdx2cdxml.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/cdx2cdxml.cpp:3: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/chemdata.h:10: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdx2cdxml.cpp: In member function 'QString ChemData::ParseProperty(QByteArray)': xdrawchem/cdx2cdxml.cpp:121:46: warning: 'QTextStream& QTextStreamFunctions::hex(QTextStream&)' is deprecated: Use Qt::hex [-Wdeprecated-declarations] 121 | qDebug() << "Unrecognized property: " << hex << ( int ) a[1] << " " << ( int ) a[0] << " [" << dec << a.size() - 4 << " bytes]"; | ^~~ /usr/include/qt5/QtCore/qtextstream.h:277:74: note: declared here 277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s); | ^~~ xdrawchem/cdx2cdxml.cpp:121:100: warning: 'QTextStream& QTextStreamFunctions::dec(QTextStream&)' is deprecated: Use Qt::dec [-Wdeprecated-declarations] 121 | qDebug() << "Unrecognized property: " << hex << ( int ) a[1] << " " << ( int ) a[0] << " [" << dec << a.size() - 4 << " bytes]"; | ^~~ /usr/include/qt5/QtCore/qtextstream.h:276:74: note: declared here 276 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::dec") QTextStream &dec(QTextStream &s); | ^~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/cdxml_reader.o xdrawchem/cdxml_reader.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/cdxml_reader.h:7, from xdrawchem/cdxml_reader.cpp:3: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/chemdata.h:10: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp: In member function 'bool CDXML_Reader::ReadFile(QString)': xdrawchem/cdxml_reader.cpp:29:17: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 29 | qDebug() << endl << "New and improved CDXML parser" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp:29:60: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 29 | qDebug() << endl << "New and improved CDXML parser" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp:35:17: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 35 | qDebug() << endl << "Done parsing!" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp:35:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 35 | qDebug() << endl << "Done parsing!" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp: In member function 'void CDXML_Reader::ParseFragment(QString)': xdrawchem/cdxml_reader.cpp:224:17: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 224 | qDebug() << endl << "<--frag-->"; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp:225:25: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 225 | qDebug() << ftag << endl << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp:225:33: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 225 | qDebug() << ftag << endl << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp: In member function 'QString CDXML_Reader::ParseText(QString)': xdrawchem/cdxml_reader.cpp:272:17: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 272 | qDebug() << endl << "<--text-->"; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp:273:25: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 273 | qDebug() << ttag << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp: In member function 'void CDXML_Reader::ParseNode(QString)': xdrawchem/cdxml_reader.cpp:396:17: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 396 | qDebug() << endl << "<--node-->"; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp:397:25: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 397 | qDebug() << ntag << endl << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp:397:33: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 397 | qDebug() << ntag << endl << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/cdxml_reader.cpp: In member function 'CDXML_Reader::ParseColor(QString)': xdrawchem/cdxml_reader.cpp:122:18: warning: 'bl' may be used uninitialized [-Wmaybe-uninitialized] 122 | retval.setRgb( re, gr, bl ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ xdrawchem/cdxml_reader.cpp:109:17: note: 'bl' was declared here 109 | int re, gr, bl; | ^~ xdrawchem/cdxml_reader.cpp:122:18: warning: 'gr' may be used uninitialized [-Wmaybe-uninitialized] 122 | retval.setRgb( re, gr, bl ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ xdrawchem/cdxml_reader.cpp:109:13: note: 'gr' was declared here 109 | int re, gr, bl; | ^~ xdrawchem/cdxml_reader.cpp:122:18: warning: 're' may be used uninitialized [-Wmaybe-uninitialized] 122 | retval.setRgb( re, gr, bl ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ xdrawchem/cdxml_reader.cpp:109:9: note: 're' was declared here 109 | int re, gr, bl; | ^~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/charsel.o xdrawchem/charsel.cpp In file included from xdrawchem/charsel.cpp:9: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from xdrawchem/charsel.cpp:5: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/charsel.cpp: In member function 'void CharSelDialog::fontChange(int)': xdrawchem/charsel.cpp:69:37: warning: unused parameter 'n1' [-Wunused-parameter] 69 | void CharSelDialog::fontChange( int n1 ) | ~~~~^~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/boshcp.o xdrawchem/boshcp.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/chemdata_cdx.o xdrawchem/chemdata_cdx.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/chemdata_cdx.cpp:1: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/chemdata.h:10: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/chemdata_cdxml.o xdrawchem/chemdata_cdxml.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/chemdata_cdxml.cpp:1: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/chemdata.h:10: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/chemdata_cdxml.cpp: In member function 'bool ChemData::LoadCDXMLFile(QString, QString)': xdrawchem/chemdata_cdxml.cpp:15:9: warning: variable 'currentpage' set but not used [-Wunused-but-set-variable] 15 | int currentpage; | ^~~~~~~~~~~ xdrawchem/chemdata_cdxml.cpp:16:9: warning: variable 'currentfragment' set but not used [-Wunused-but-set-variable] 16 | int currentfragment; | ^~~~~~~~~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/chemdata_cml.o xdrawchem/chemdata_cml.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/chemdata_cml.cpp:6: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtXml/qxml.h:64, from /usr/include/qt5/QtXml/QXmlInputSource:1, from xdrawchem/chemdata_cml.cpp:2: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/chemdata_cml.cpp: In member function 'bool ChemData::NewLoadCMLFile(QString)': xdrawchem/chemdata_cml.cpp:19:27: warning: 'QXmlInputSource' is deprecated [-Wdeprecated-declarations] 19 | QXmlInputSource source( &xmlFile ); | ^ /usr/include/qt5/QtXml/qxml.h:197:49: note: declared here 197 | class QT_DEPRECATED_VERSION(5, 15) Q_XML_EXPORT QXmlInputSource | ^~~~~~~~~~~~~~~ xdrawchem/chemdata_cml.cpp:20:22: warning: 'QXmlSimpleReader' is deprecated: Use QXmlStreamReader [-Wdeprecated-declarations] 20 | QXmlSimpleReader reader; | ^~~~~~ /usr/include/qt5/QtXml/qxml.h:275:75: note: declared here 275 | class QT_DEPRECATED_VERSION_X(5, 15, "Use QXmlStreamReader") Q_XML_EXPORT QXmlSimpleReader | ^~~~~~~~~~~~~~~~ xdrawchem/chemdata_cml.cpp: In member function 'bool ChemData::save_cml(QString)': xdrawchem/chemdata_cml.cpp:550:83: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 550 | t << "" << XDC_VERSION << "" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/chemdata_cml.cpp:571:28: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 571 | t << "" << endl << ""; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/chemdata_cml.cpp: In member function 'ChemData::Convert_CML_Lists_To_Native()': xdrawchem/chemdata_cml.cpp:439:20: warning: 'end2' may be used uninitialized [-Wmaybe-uninitialized] 439 | DPoint *end1, *end2; // Bond endpoints | ^~~~ xdrawchem/chemdata_cml.cpp:439:13: warning: 'end1' may be used uninitialized [-Wmaybe-uninitialized] 439 | DPoint *end1, *end2; // Bond endpoints | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/chemdata.o xdrawchem/chemdata.cpp In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/chemdata.cpp:2: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/QString:1, from xdrawchem/drawable.h:7, from xdrawchem/chemdata.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule.h:15: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/chemdata_event.o xdrawchem/chemdata_event.cpp In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/chemdata_event.cpp:4: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/QList:1, from xdrawchem/chemdata_event.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule.h:15: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/chemdata_event.cpp:3: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/chemdata_edit.o xdrawchem/chemdata_edit.cpp In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/chemdata_edit.cpp:3: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/QString:1, from xdrawchem/drawable.h:7, from xdrawchem/chemdata_edit.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule.h:15: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/chemdata_edit.cpp: In member function 'void ChemData::StartUndo(int, DPoint*)': xdrawchem/chemdata_edit.cpp:158:31: warning: unused parameter 'fn' [-Wunused-parameter] 158 | void ChemData::StartUndo( int fn, DPoint * s1 ) | ~~~~^~ xdrawchem/chemdata_edit.cpp:158:44: warning: unused parameter 's1' [-Wunused-parameter] 158 | void ChemData::StartUndo( int fn, DPoint * s1 ) | ~~~~~~~~~^~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/chemdata_mdl.o xdrawchem/chemdata_mdl.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/chemdata_mdl.cpp:1: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/chemdata.h:10: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/chemdata_mdl.cpp: In member function 'bool ChemData::load_mdl(QString)': xdrawchem/chemdata_mdl.cpp:6:34: warning: unused parameter 'fn' [-Wunused-parameter] 6 | bool ChemData::load_mdl( QString fn ) | ~~~~~~~~^~ xdrawchem/chemdata_mdl.cpp: In member function 'bool ChemData::ProcessMDL(QString)': xdrawchem/chemdata_mdl.cpp:11:36: warning: unused parameter 'wf' [-Wunused-parameter] 11 | bool ChemData::ProcessMDL( QString wf ) | ~~~~~~~~^~ xdrawchem/chemdata_mdl.cpp: In member function 'bool ChemData::save_mdl(QString)': xdrawchem/chemdata_mdl.cpp:16:34: warning: unused parameter 'fn' [-Wunused-parameter] 16 | bool ChemData::save_mdl( QString fn ) | ~~~~~~~~^~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/chemdata_rw.o xdrawchem/chemdata_rw.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/chemdata_rw.cpp:5: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/chemdata.h:10: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/chemdata_rxn.o xdrawchem/chemdata_rxn.cpp In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/tool_1h_nmr.h:6, from xdrawchem/chemdata_rxn.cpp:6: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from xdrawchem/chemdata_rxn.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule.h:15: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/chemdata_tools.o xdrawchem/chemdata_tools.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/crings_dialog.h:27, from xdrawchem/chemdata_tools.cpp:8: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/crings_dialog.h:29: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from xdrawchem/chemdata_tools.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ xdrawchem/chemdata_tools.cpp: In member function 'void ChemData::AutoLayout()': xdrawchem/chemdata_tools.cpp:294:9: warning: variable 'dista' set but not used [-Wunused-but-set-variable] 294 | int dista, distb, distl, distr, d1, d2, d3, d4, ds; | ^~~~~ xdrawchem/chemdata_tools.cpp:294:16: warning: variable 'distb' set but not used [-Wunused-but-set-variable] 294 | int dista, distb, distl, distr, d1, d2, d3, d4, ds; | ^~~~~ xdrawchem/chemdata_tools.cpp:294:23: warning: variable 'distl' set but not used [-Wunused-but-set-variable] 294 | int dista, distb, distl, distr, d1, d2, d3, d4, ds; | ^~~~~ xdrawchem/chemdata_tools.cpp:294:30: warning: variable 'distr' set but not used [-Wunused-but-set-variable] 294 | int dista, distb, distl, distr, d1, d2, d3, d4, ds; | ^~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/chemdata_xdc.o xdrawchem/chemdata_xdc.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/chemdata_xdc.cpp:2: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/chemdata.h:10: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/chemdata_xdc.cpp:4: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/QString:1, from xdrawchem/defs.h:4, from xdrawchem/chemdata_xdc.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ xdrawchem/chemdata_xdc.cpp: In member function 'bool ChemData::load_native(QString)': xdrawchem/chemdata_xdc.cpp:23:9: warning: variable 'psize' set but not used [-Wunused-but-set-variable] 23 | int psize = PAGE_LETTER, porient = PAGE_PORTRAIT; | ^~~~~ xdrawchem/chemdata_xdc.cpp:23:30: warning: variable 'porient' set but not used [-Wunused-but-set-variable] 23 | int psize = PAGE_LETTER, porient = PAGE_PORTRAIT; | ^~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/colorbutton.o xdrawchem/colorbutton.cpp xdrawchem/colorbutton.cpp: In member function 'virtual void ColorButton::paintEvent(QPaintEvent*)': xdrawchem/colorbutton.cpp:64:52: warning: 'const QBrush& QPalette::background() const' is deprecated: Use QPalette::window() instead [-Wdeprecated-declarations] 64 | focusOpt.backgroundColor = palette().background().color(); | ~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtWidgets/qstyle.h:49, from /usr/include/qt5/QtWidgets/QStyle:1, from xdrawchem/colorbutton.cpp:18: /usr/include/qt5/QtGui/qpalette.h:149:26: note: declared here 149 | inline const QBrush &background() const { return window(); } | ^~~~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/chemdata_xml.o xdrawchem/chemdata_xml.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/chemdata_xml.cpp:3: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/chemdata.h:10: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/crings_dialog.o xdrawchem/crings_dialog.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/crings_dialog.h:27, from xdrawchem/crings_dialog.cpp:22: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/crings_dialog.h:29: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qlayout.h:44, from /usr/include/qt5/QtWidgets/qgridlayout.h:44, from /usr/include/qt5/QtWidgets/QGridLayout:1, from xdrawchem/crings_dialog.cpp:18: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ xdrawchem/crings_dialog.cpp: In member function 'void CustomRingWidget::slotTitle(QString&)': xdrawchem/crings_dialog.cpp:81:40: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 81 | qDebug() << "saved: " << string << endl << "done with crwidget"; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/crings_dialog.cpp: In member function 'virtual void CustomRingWidget::paintEvent(QPaintEvent*)': xdrawchem/crings_dialog.cpp:122:50: warning: unused parameter 'pe' [-Wunused-parameter] 122 | void CustomRingWidget::paintEvent( QPaintEvent * pe ) | ~~~~~~~~~~~~~~^~ xdrawchem/crings_dialog.cpp: In member function 'void CustomRingDialog::slotTextChanged(const QString&)': xdrawchem/crings_dialog.cpp:169:57: warning: unused parameter 'string' [-Wunused-parameter] 169 | void CustomRingDialog::slotTextChanged( const QString & string ) | ~~~~~~~~~~~~~~~~^~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/curvearrow.o xdrawchem/curvearrow.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/curvearrow.cpp:3: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/curvearrow.cpp: In member function 'virtual DPoint* CurveArrow::FindNearestPoint(DPoint*, double&)': xdrawchem/curvearrow.cpp:160:48: warning: unused parameter 'target' [-Wunused-parameter] 160 | DPoint *CurveArrow::FindNearestPoint( DPoint * target, double &dist ) | ~~~~~~~~~^~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/drawable.o xdrawchem/drawable.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/dyk.o xdrawchem/dyk.cpp In file included from xdrawchem/dyk.h:8, from xdrawchem/dyk.cpp:6: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/prefs.h:6: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/fixeddialog.o xdrawchem/fixeddialog.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/fixeddialog.cpp:8: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/gobject.o xdrawchem/gobject.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/gobject.cpp:8: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/gobject.cpp: In member function 'virtual DPoint* GraphicObject::FindNearestPoint(DPoint*, double&)': xdrawchem/gobject.cpp:212:50: warning: unused parameter 'target' [-Wunused-parameter] 212 | DPoint *GraphicObject::FindNearestPoint( DPoint *target, double &dist ) | ~~~~~~~~^~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/graphdialog.o xdrawchem/graphdialog.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/graphdialog.cpp:5: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/graphwidget.o xdrawchem/graphwidget.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/graphwidget.cpp:11: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/graphwidget.cpp: In member function 'virtual void GraphWidget::paintEvent(QPaintEvent*)': xdrawchem/graphwidget.cpp:24:44: warning: unused parameter 'pe' [-Wunused-parameter] 24 | void GraphWidget::paintEvent( QPaintEvent *pe ) | ~~~~~~~~~~~~~^~ xdrawchem/graphwidget.cpp: In member function 'void GraphWidget::PrintSetup()': xdrawchem/graphwidget.cpp:135:25: warning: 'virtual void QPrinter::setPageSize(QPagedPaintDevice::PageSize)' is deprecated: Use setPageSize(QPageSize) instead. [-Wdeprecated-declarations] 135 | printer->setPageSize( QPrinter::Letter ); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtPrintSupport/QPrinter:1, from xdrawchem/graphwidget.cpp:3: /usr/include/qt5/QtPrintSupport/qprinter.h:177:10: note: declared here 177 | void setPageSize(PageSize) override; | ^~~~~~~~~~~ xdrawchem/graphwidget.cpp:136:28: warning: 'void QPrinter::setOrientation(Orientation)' is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations] 136 | printer->setOrientation( QPrinter::Portrait ); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtPrintSupport/qprinter.h:172:10: note: declared here 172 | void setOrientation(Orientation); | ^~~~~~~~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/helpwindow.o xdrawchem/helpwindow.cpp xdrawchem/helpwindow.cpp: In constructor 'HelpWindow::HelpWindow(const QString&, const QString&, QWidget*)': xdrawchem/helpwindow.cpp:31:64: warning: unused parameter '_path' [-Wunused-parameter] 31 | HelpWindow::HelpWindow( const QString & home_, const QString & _path, QWidget * parent ) | ~~~~~~~~~~~~~~~~^~~~~ In file included from xdrawchem/helpwindow.cpp:29: xdrawchem/home.xpm: At global scope: xdrawchem/home.xpm:4:20: warning: 'home_xpm' defined but not used [-Wunused-variable] 4 | static const char *home_xpm[]={ | ^~~~~~~~ In file included from xdrawchem/helpwindow.cpp:28: xdrawchem/forward.xpm:4:20: warning: 'forward_xpm' defined but not used [-Wunused-variable] 4 | static const char *forward_xpm[]={ | ^~~~~~~~~~~ In file included from xdrawchem/helpwindow.cpp:27: xdrawchem/back.xpm:4:20: warning: 'back_xpm' defined but not used [-Wunused-variable] 4 | static const char *back_xpm[]={ | ^~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/http.o xdrawchem/http.cpp xdrawchem/http.cpp: In member function 'void HTTP::slotError(QNetworkReply::NetworkError)': xdrawchem/http.cpp:27:56: warning: unused parameter 'e' [-Wunused-parameter] 27 | void HTTP::slotError(const QNetworkReply::NetworkError e) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/ioiface.o xdrawchem/ioiface.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/ioiface.h:21, from xdrawchem/ioiface.cpp:23: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/chemdata.h:10: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/ioiface.h:23: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11, from xdrawchem/ioiface.cpp:28: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/bits/refwrap.h:39, from /usr/include/c++/12/vector:66, from xdrawchem/ioiface.cpp:18: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/main.o xdrawchem/main.cpp In file included from xdrawchem/main.cpp:21: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/main.cpp:13: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/main.cpp: In function 'int main(int, char**)': xdrawchem/main.cpp:83:31: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 83 | out << XDC_VERSION << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/main.cpp: In function 'void usage()': xdrawchem/main.cpp:192:27: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | out << XDC_VERSION << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/main.cpp:193:24: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | out << "Usage:" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/main.cpp:194:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | out << " xdrawchem [input file] [options]" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/main.cpp:195:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | out << "Command line options:" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/main.cpp:196:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | out << "-png : Create a PNG image of input file and exit" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/main.cpp:197:62: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | out << "-t: Make transparent PNG (also specify -png)" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/main.cpp:198:70: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 198 | out << "-3d: Make 3D model of input file (output MDL mofile)" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/main.cpp:199:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 199 | out << "-h, --help: Display this help" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/main.cpp:200:65: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 200 | out << "-v, --version: Display the version information" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/molecule_1h_nmr.o xdrawchem/molecule_1h_nmr.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule_1h_nmr.cpp:6: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from xdrawchem/molinfodialog.h:4, from xdrawchem/molecule_1h_nmr.cpp:4: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/molecule_1h_nmr.cpp:8: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from xdrawchem/graphdialog.h:4, from xdrawchem/molecule_1h_nmr.cpp:3: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ xdrawchem/molecule_1h_nmr.cpp: In member function 'void Molecule::ProtonEnvironment()': xdrawchem/molecule_1h_nmr.cpp:150:9: warning: variable 'adj_protons' set but not used [-Wunused-but-set-variable] 150 | int adj_protons; | ^~~~~~~~~~~ xdrawchem/molecule_1h_nmr.cpp:156:9: warning: variable 'rnext' set but not used [-Wunused-but-set-variable] 156 | int rnext = 0; | ^~~~~ xdrawchem/molecule_1h_nmr.cpp: In member function 'void Molecule::Multiplicity_1HNMR()': xdrawchem/molecule_1h_nmr.cpp:259:17: warning: variable 'chiral' set but not used [-Wunused-but-set-variable] 259 | bool split, chiral; | ^~~~~~ xdrawchem/molecule_1h_nmr.cpp: In member function 'void Molecule::Calc1HMultiplicityAndIntensity()': xdrawchem/molecule_1h_nmr.cpp:397:17: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 397 | qDebug() << endl << "Proton final list:"; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/molecule_1h_nmr.cpp: In member function 'Molecule::Calc1HShift(QString)': xdrawchem/molecule_1h_nmr.cpp:421:12: warning: 'base_shift' may be used uninitialized [-Wmaybe-uninitialized] 421 | double base_shift; | ^~~~~~~~~~ xdrawchem/molecule_1h_nmr.cpp: In member function 'Molecule::Multiplicity_1HNMR()': xdrawchem/molecule_1h_nmr.cpp:287:32: warning: 'depth1_pt' may be used uninitialized [-Wmaybe-uninitialized] 287 | if ( tmp_bond->Find( depth1_pt ) ) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ xdrawchem/molecule_1h_nmr.cpp:260:13: note: 'depth1_pt' was declared here 260 | DPoint *depth1_pt, *depth2_pt, *depth3_pt; | ^~~~~~~~~ xdrawchem/molecule_1h_nmr.cpp: In member function 'Molecule::ProtonEnvironment()': xdrawchem/molecule_1h_nmr.cpp:187:32: warning: 'depth1_pt' may be used uninitialized [-Wmaybe-uninitialized] 187 | if ( tmp_bond->Find( depth1_pt ) ) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ xdrawchem/molecule_1h_nmr.cpp:151:13: note: 'depth1_pt' was declared here 151 | DPoint *depth1_pt, *depth2_pt, *depth3_pt; | ^~~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/molecule.o xdrawchem/molecule.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule.cpp:4: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from xdrawchem/moldata.h:10, from xdrawchem/molecule.cpp:3: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/molecule.cpp:6: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/QString:1, from xdrawchem/moldata.h:7: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ xdrawchem/molecule.cpp: In member function 'virtual void Molecule::addMolecule(Drawable*)': xdrawchem/molecule.cpp:701:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] 701 | int i = 0; | ^ xdrawchem/molecule.cpp: In member function 'QString Molecule::ToMDLMolfile(int)': xdrawchem/molecule.cpp:1056:10: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 1056 | t << endl << endl << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/molecule.cpp:1056:18: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 1056 | t << endl << endl << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/molecule.cpp:1056:26: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 1056 | t << endl << endl << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/molecule.cpp:1068:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 1068 | t << bcount << " 0 0 0 0 0 0 0 0 1" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/molecule.cpp:1098:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 1098 | t << " 0 0 0 0 0 0 0 0 0 0 0 0" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/molecule.cpp:1114:14: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 1114 | t << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In member function 'Molecule::Angle(Bond*, Bond*)', inlined from 'Molecule::Render()' at xdrawchem/molecule.cpp:57:32: xdrawchem/molecule.h:168:31: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized] 168 | double ang2 = getAngle(c, b); | ~~~~~~~~^~~~~~ xdrawchem/molecule.h: In member function 'Molecule::Render()': xdrawchem/molecule.h:146:25: note: 'b' was declared here 146 | DPoint *a, *c, *b; | ^ In member function 'Molecule::Angle(Bond*, Bond*)', inlined from 'Molecule::Render()' at xdrawchem/molecule.cpp:57:32: xdrawchem/molecule.h:167:31: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 167 | double ang1 = getAngle(c, a); | ~~~~~~~~^~~~~~ xdrawchem/molecule.h: In member function 'Molecule::Render()': xdrawchem/molecule.h:146:21: note: 'c' was declared here 146 | DPoint *a, *c, *b; | ^ In member function 'Molecule::Angle(Bond*, Bond*)', inlined from 'Molecule::Render()' at xdrawchem/molecule.cpp:57:32: xdrawchem/molecule.h:167:31: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 167 | double ang1 = getAngle(c, a); | ~~~~~~~~^~~~~~ xdrawchem/molecule.h: In member function 'Molecule::Render()': xdrawchem/molecule.h:146:17: note: 'a' was declared here 146 | DPoint *a, *c, *b; | ^ In member function 'Molecule::Angle(Bond*, Bond*)', inlined from 'Molecule::Render()' at xdrawchem/molecule.cpp:50:32: xdrawchem/molecule.h:168:31: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized] 168 | double ang2 = getAngle(c, b); | ~~~~~~~~^~~~~~ xdrawchem/molecule.h: In member function 'Molecule::Render()': xdrawchem/molecule.h:146:25: note: 'b' was declared here 146 | DPoint *a, *c, *b; | ^ In member function 'Molecule::Angle(Bond*, Bond*)', inlined from 'Molecule::Render()' at xdrawchem/molecule.cpp:50:32: xdrawchem/molecule.h:167:31: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 167 | double ang1 = getAngle(c, a); | ~~~~~~~~^~~~~~ xdrawchem/molecule.h: In member function 'Molecule::Render()': xdrawchem/molecule.h:146:21: note: 'c' was declared here 146 | DPoint *a, *c, *b; | ^ In member function 'Molecule::Angle(Bond*, Bond*)', inlined from 'Molecule::Render()' at xdrawchem/molecule.cpp:50:32: xdrawchem/molecule.h:167:31: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 167 | double ang1 = getAngle(c, a); | ~~~~~~~~^~~~~~ xdrawchem/molecule.h: In member function 'Molecule::Render()': xdrawchem/molecule.h:146:17: note: 'a' was declared here 146 | DPoint *a, *c, *b; | ^ xdrawchem/molecule.cpp: In member function 'Molecule::FromXML(QString)': xdrawchem/molecule.cpp:1191:32: warning: 'e1' may be used uninitialized [-Wmaybe-uninitialized] 1191 | tmp_bond->setPoints( s1, e1 ); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdrawchem/molecule.cpp:1129:18: note: 'e1' was declared here 1129 | DPoint *s1, *e1; | ^~ xdrawchem/molecule.cpp:1191:32: warning: 's1' may be used uninitialized [-Wmaybe-uninitialized] 1191 | tmp_bond->setPoints( s1, e1 ); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ xdrawchem/molecule.cpp:1129:13: note: 's1' was declared here 1129 | DPoint *s1, *e1; | ^~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/molecule_obmol.o xdrawchem/molecule_obmol.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/molecule_obmol.cpp:6: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/molecule_obmol.cpp:5: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/molecule_obmol.cpp:9: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/bits/refwrap.h:39, from /usr/include/c++/12/vector:66, from xdrawchem/molecule_obmol.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/molecule_sssr.o xdrawchem/molecule_sssr.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/molecule_sssr.cpp:12: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/molecule_sssr.cpp: In member function 'QList* SSSR::GetRing(DPoint*)': xdrawchem/molecule_sssr.cpp:240:41: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 240 | qInfo() << "collide" << endl << "thisnode(" << thisnode->serial << "):"; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/molecule_sssr.cpp:246:28: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 246 | qInfo() << endl << "tmp_pt(" << tmp_pt->serial << "):"; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/molecule_smiles.o xdrawchem/molecule_smiles.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule_smiles.cpp:11: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QtDebug:1, from xdrawchem/molecule_smiles.cpp:4: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/molecule_smiles.cpp:13: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from xdrawchem/molecule_smiles.cpp:17: xdrawchem/ring.h: In member function 'QString Ring::getSortedString()': xdrawchem/ring.h:75:10: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = int*]' is deprecated: Use std::sort [-Wdeprecated-declarations] 75 | qSort(rep.begin(), rep.end()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:44: /usr/include/qt5/QtCore/qalgorithms.h:174:46: note: declared here 174 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end) | ^~~~~ xdrawchem/ring.h: In member function 'bool Ring::isValid()': xdrawchem/ring.h:91:10: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = int*]' is deprecated: Use std::sort [-Wdeprecated-declarations] 91 | qSort(rep.begin(), rep.end()); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qalgorithms.h:174:46: note: declared here 174 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end) | ^~~~~ In file included from xdrawchem/sdg.h:37, from xdrawchem/molecule_smiles.cpp:19: xdrawchem/sorf.h: In member function 'Ring* SetOfRingsFinder::prepareRing(QList, QVector)': xdrawchem/sorf.h:323:56: warning: unused parameter 'tempAtomSet' [-Wunused-parameter] 323 | Ring *prepareRing(QList vec, QVector tempAtomSet) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdrawchem/sorf.h: In member function 'void SetOfRingsFinder::trim(Atom*, QVector)': xdrawchem/sorf.h:334:38: warning: unused parameter 'tempAtomSet' [-Wunused-parameter] 334 | void trim(Atom *n, QVector tempAtomSet){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdrawchem/sorf.h: In member function 'void SetOfRingsFinder::breakBond(Atom*, QVector)': xdrawchem/sorf.h:356:50: warning: unused parameter 'tempAtomSet' [-Wunused-parameter] 356 | void breakBond(Atom *thisNode, QVector tempAtomSet){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdrawchem/sorf.h: In member function 'void SetOfRingsFinder::breakBond(Atom*, Atom*, QVector)': xdrawchem/sorf.h:383:9: warning: variable 'degree' set but not used [-Wunused-but-set-variable] 383 | int degree, f; | ^~~~~~ xdrawchem/sorf.h:382:57: warning: unused parameter 'tempAtomSet' [-Wunused-parameter] 382 | void breakBond(Atom *from, Atom *to, QVector tempAtomSet){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdrawchem/sorf.h: In member function 'void SetOfRingsFinder::restoreBond(Atom*, Atom*, QVector)': xdrawchem/sorf.h:409:59: warning: unused parameter 'tempAtomSet' [-Wunused-parameter] 409 | void restoreBond(Atom *from, Atom *to, QVector tempAtomSet){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ xdrawchem/sdg.h: In member function 'void SDG::draw()': xdrawchem/sdg.h:186:13: warning: variable 'fatest' set but not used [-Wunused-but-set-variable] 186 | int fatest = 0; // the complexity of the 'fatest' atom; | ^~~~~~ xdrawchem/sdg.h:187:13: warning: variable 'fatestIndex' set but not used [-Wunused-but-set-variable] 187 | int fatestIndex; // the index of the fatest atom; | ^~~~~~~~~~~ xdrawchem/sdg.h:269:97: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 269 | SPoint(atomSet[neighbor]->x, atomSet[neighbor]->y), bondLength); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h:270:102: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 270 | tempPoint = rotAtom(SPoint(atomSet[neighbor]->x, atomSet[neighbor]->y), tempPoint, rot[f]); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h: In member function 'void SDG::positionRingAtoms(int, SPoint, double, int, int)': xdrawchem/sdg.h:385:47: warning: unused parameter 'center' [-Wunused-parameter] 385 | void positionRingAtoms(int thisRing, SPoint center, double angleOffSet, int startAtom, int endAtom){ | ~~~~~~~^~~~~~ xdrawchem/sdg.h: In member function 'void SDG::positionRingSubstituents(int)': xdrawchem/sdg.h:547:96: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 547 | SPoint(atomSet[tempAtom]->x, atomSet[tempAtom]->y), rad); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h:551:108: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 551 | tempPoint = rotAtom(SPoint(atomSet[tempAtom]->x, atomSet[tempAtom]->y), tempPoint, alph); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h:585:140: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 585 | tempPoint = placeAtom(SPoint(atomSet[atom1]->x, atomSet[atom1]->y), SPoint(atomSet[atom2]->x, atomSet[atom2]->y), -dist/2); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h:592:84: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 592 | tempPoint = placeAtom(SPoint(ring->x, ring->y), tempPoint, radius); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h:714:68: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 714 | tempPoint = SPoint(secondRing->x, secondRing->y); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h:728:111: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 728 | tempPoint = placeAtom(SPoint(ring->x, ring->y), SPoint(secondRing->x, secondRing->y), rad2); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h:734:98: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 734 | temp2Point = rotAtom(SPoint(secondRing->x,secondRing->y), tempPoint, alph); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h: In member function 'FusedRingParams SDG::getFusedRingParams(SPoint, SPoint, int, int, bool, int)': xdrawchem/sdg.h:791:19: warning: variable 'coord' set but not used [-Wunused-but-set-variable] 791 | double angle, coord, x1, x2, y1, y2; | ^~~~~ xdrawchem/sdg.h: In member function 'int SDG::positionAtomSubstituents(int, SPoint, SPoint, QVector, int, int, int)': xdrawchem/sdg.h:1099:59: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 1099 | tempPoint = placeAtom(helpPoint, point, bondLength); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h:1101:49: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 1101 | test = rotAtom(point, tempPoint, thisRot); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h:1127:60: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 1127 | tempPoint = placeAtom(SPoint(xh, yh), SPoint(x, y), rad); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h:1129:54: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 1129 | tempPoint = rotAtom(SPoint(x, y), tempPoint, alph); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h: In member function 'void SDG::handleBridgeHeads(int, double, double, double, double, int, int)': xdrawchem/sdg.h:1339:63: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 1339 | tempPoint = rotAtom(SPoint(x, y), SPoint(xx, yy), pp); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h:1357:65: warning: implicitly-declared 'constexpr SPoint& SPoint::operator=(const SPoint&)' is deprecated [-Wdeprecated-copy] 1357 | tempPoint = rotAtom(SPoint(x, y), SPoint(xx, yy), pp); | ^ xdrawchem/sdg.h:72:3: note: because 'SPoint' has user-provided 'SPoint::SPoint(const SPoint&)' 72 | SPoint(const SPoint &p){ | ^~~~~~ xdrawchem/sdg.h: In member function 'int SDG::handleRestOfRingSubstituents(int)': xdrawchem/sdg.h:1376:21: warning: variable 'iz' set but not used [-Wunused-but-set-variable] 1376 | int i, j, k, iz, ir, igr, /*id1, endlos,*/ l, jj/*, nanz, ih*/; | ^~ xdrawchem/sdg.h:1382:11: warning: variable 'vmit' set but not used [-Wunused-but-set-variable] 1382 | bool vmit/*, ums, okay*/; | ^~~~ xdrawchem/molecule_smiles.cpp: In member function 'void Molecule::FromInChI(QString)': xdrawchem/molecule_smiles.cpp:224:35: warning: unused parameter 'sm' [-Wunused-parameter] 224 | void Molecule::FromInChI( QString sm ) | ~~~~~~~~^~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/molecule_tools_1.o xdrawchem/molecule_tools_1.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule_tools_1.cpp:9: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from xdrawchem/molinfodialog.h:4, from xdrawchem/molecule_tools_1.cpp:7: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/molecule_tools_1.cpp:11: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qmessagebox.h:45, from /usr/include/qt5/QtWidgets/QMessageBox:1, from xdrawchem/molecule_tools_1.cpp:3: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from xdrawchem/molecule_tools_1.cpp:21: In member function 'HOSECodeShiftRange::HOSECodeShiftRange(HOSECodeShiftRange&&)', inlined from 'PseudoHashTable::get(QString)' at xdrawchem/boshcp.h:110:16, inlined from 'BremserOneSphereHOSECodePredictor::predictFull(QString)' at xdrawchem/boshcp.h:146:26: xdrawchem/boshcp.h:34:7: warning: 'MEM [(double *)&ret + 8B]' may be used uninitialized [-Wmaybe-uninitialized] 34 | class HOSECodeShiftRange | ^~~~~~~~~~~~~~~~~~ xdrawchem/boshcp.h: In member function 'BremserOneSphereHOSECodePredictor::predictFull(QString)': xdrawchem/boshcp.h:108:28: note: 'ret' declared here 108 | HOSECodeShiftRange ret; | ^~~ In member function 'HOSECodeShiftRange::HOSECodeShiftRange(HOSECodeShiftRange&&)', inlined from 'PseudoHashTable::get(QString)' at xdrawchem/boshcp.h:110:16, inlined from 'BremserOneSphereHOSECodePredictor::predictFull(QString)' at xdrawchem/boshcp.h:146:26: xdrawchem/boshcp.h:34:7: warning: 'MEM [(double *)&ret + 32B]' may be used uninitialized [-Wmaybe-uninitialized] 34 | class HOSECodeShiftRange | ^~~~~~~~~~~~~~~~~~ xdrawchem/boshcp.h: In member function 'BremserOneSphereHOSECodePredictor::predictFull(QString)': xdrawchem/boshcp.h:108:28: note: 'ret' declared here 108 | HOSECodeShiftRange ret; | ^~~ In member function 'HOSECodeShiftRange::HOSECodeShiftRange(HOSECodeShiftRange&&)', inlined from 'PseudoHashTable::get(QString)' at xdrawchem/boshcp.h:110:16, inlined from 'BremserOneSphereHOSECodePredictor::predictFull(QString)' at xdrawchem/boshcp.h:146:26: xdrawchem/boshcp.h:34:7: warning: 'MEM [(int *)&ret + 48B]' may be used uninitialized [-Wmaybe-uninitialized] 34 | class HOSECodeShiftRange | ^~~~~~~~~~~~~~~~~~ xdrawchem/boshcp.h: In member function 'BremserOneSphereHOSECodePredictor::predictFull(QString)': xdrawchem/boshcp.h:108:28: note: 'ret' declared here 108 | HOSECodeShiftRange ret; | ^~~ In member function 'HOSECodeShiftRange::HOSECodeShiftRange(HOSECodeShiftRange&&)', inlined from 'PseudoHashTable::get(QString)' at xdrawchem/boshcp.h:110:16, inlined from 'BremserOneSphereHOSECodePredictor::predict(QString)' at xdrawchem/boshcp.h:139:26, inlined from 'Molecule::Calc13CNMR(bool)' at xdrawchem/molecule_tools_1.cpp:249:19: xdrawchem/boshcp.h:34:7: warning: 'MEM [(double *)&ret + 8B]' may be used uninitialized [-Wmaybe-uninitialized] 34 | class HOSECodeShiftRange | ^~~~~~~~~~~~~~~~~~ xdrawchem/boshcp.h: In member function 'Molecule::Calc13CNMR(bool)': xdrawchem/boshcp.h:108:28: note: 'ret' declared here 108 | HOSECodeShiftRange ret; | ^~~ In member function 'HOSECodeShiftRange::HOSECodeShiftRange(HOSECodeShiftRange&&)', inlined from 'PseudoHashTable::get(QString)' at xdrawchem/boshcp.h:110:16, inlined from 'BremserOneSphereHOSECodePredictor::predict(QString)' at xdrawchem/boshcp.h:139:26, inlined from 'Molecule::Calc13CNMR(bool)' at xdrawchem/molecule_tools_1.cpp:249:19: xdrawchem/boshcp.h:34:7: warning: 'MEM [(double *)&ret + 32B]' may be used uninitialized [-Wmaybe-uninitialized] 34 | class HOSECodeShiftRange | ^~~~~~~~~~~~~~~~~~ xdrawchem/boshcp.h: In member function 'Molecule::Calc13CNMR(bool)': xdrawchem/boshcp.h:108:28: note: 'ret' declared here 108 | HOSECodeShiftRange ret; | ^~~ In member function 'HOSECodeShiftRange::HOSECodeShiftRange(HOSECodeShiftRange&&)', inlined from 'PseudoHashTable::get(QString)' at xdrawchem/boshcp.h:110:16, inlined from 'BremserOneSphereHOSECodePredictor::predict(QString)' at xdrawchem/boshcp.h:139:26, inlined from 'Molecule::Calc13CNMR(bool)' at xdrawchem/molecule_tools_1.cpp:249:19: xdrawchem/boshcp.h:34:7: warning: 'MEM [(int *)&ret + 48B]' may be used uninitialized [-Wmaybe-uninitialized] 34 | class HOSECodeShiftRange | ^~~~~~~~~~~~~~~~~~ xdrawchem/boshcp.h: In member function 'Molecule::Calc13CNMR(bool)': xdrawchem/boshcp.h:108:28: note: 'ret' declared here 108 | HOSECodeShiftRange ret; | ^~~ In member function 'HOSECodeShiftRange::HOSECodeShiftRange(HOSECodeShiftRange&&)', inlined from 'PseudoHashTable::get(QString)' at xdrawchem/boshcp.h:110:16, inlined from 'BremserOneSphereHOSECodePredictor::predict(QString)' at xdrawchem/boshcp.h:139:26, inlined from 'Molecule::Calc13CNMR(bool)' at xdrawchem/molecule_tools_1.cpp:251:41: xdrawchem/boshcp.h:34:7: warning: 'MEM [(double *)&ret + 8B]' may be used uninitialized [-Wmaybe-uninitialized] 34 | class HOSECodeShiftRange | ^~~~~~~~~~~~~~~~~~ xdrawchem/boshcp.h: In member function 'Molecule::Calc13CNMR(bool)': xdrawchem/boshcp.h:108:28: note: 'ret' declared here 108 | HOSECodeShiftRange ret; | ^~~ In member function 'HOSECodeShiftRange::HOSECodeShiftRange(HOSECodeShiftRange&&)', inlined from 'PseudoHashTable::get(QString)' at xdrawchem/boshcp.h:110:16, inlined from 'BremserOneSphereHOSECodePredictor::predict(QString)' at xdrawchem/boshcp.h:139:26, inlined from 'Molecule::Calc13CNMR(bool)' at xdrawchem/molecule_tools_1.cpp:251:41: xdrawchem/boshcp.h:34:7: warning: 'MEM [(double *)&ret + 32B]' may be used uninitialized [-Wmaybe-uninitialized] 34 | class HOSECodeShiftRange | ^~~~~~~~~~~~~~~~~~ xdrawchem/boshcp.h: In member function 'Molecule::Calc13CNMR(bool)': xdrawchem/boshcp.h:108:28: note: 'ret' declared here 108 | HOSECodeShiftRange ret; | ^~~ In member function 'HOSECodeShiftRange::HOSECodeShiftRange(HOSECodeShiftRange&&)', inlined from 'PseudoHashTable::get(QString)' at xdrawchem/boshcp.h:110:16, inlined from 'BremserOneSphereHOSECodePredictor::predict(QString)' at xdrawchem/boshcp.h:139:26, inlined from 'Molecule::Calc13CNMR(bool)' at xdrawchem/molecule_tools_1.cpp:251:41: xdrawchem/boshcp.h:34:7: warning: 'MEM [(int *)&ret + 48B]' may be used uninitialized [-Wmaybe-uninitialized] 34 | class HOSECodeShiftRange | ^~~~~~~~~~~~~~~~~~ xdrawchem/boshcp.h: In member function 'Molecule::Calc13CNMR(bool)': xdrawchem/boshcp.h:108:28: note: 'ret' declared here 108 | HOSECodeShiftRange ret; | ^~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/molinfodialog.o xdrawchem/molinfodialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/molecule_tools_2.o xdrawchem/molecule_tools_2.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule_tools_2.cpp:6: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from xdrawchem/molinfodialog.h:4, from xdrawchem/molecule_tools_2.cpp:4: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/molecule_tools_2.cpp:8: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from xdrawchem/graphdialog.h:4, from xdrawchem/molecule_tools_2.cpp:3: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ xdrawchem/molecule_tools_2.cpp: In member function 'double Molecule::CalcPartialCharge(QString)': xdrawchem/molecule_tools_2.cpp:272:45: warning: unused parameter 'atomtype' [-Wunused-parameter] 272 | double Molecule::CalcPartialCharge( QString atomtype ) | ~~~~~~~~^~~~~~~~ xdrawchem/molecule_tools_2.cpp: In member function 'Text* Molecule::CalcEmpiricalFormula(bool)': xdrawchem/molecule_tools_2.cpp:292:13: warning: variable 'isoflag' set but not used [-Wunused-but-set-variable] 292 | int isoflag = false; // isotope-override normal MW lookup if MW specified | ^~~~~~~ xdrawchem/molecule_tools_2.cpp:277:44: warning: unused parameter 'from_mw' [-Wunused-parameter] 277 | Text *Molecule::CalcEmpiricalFormula( bool from_mw ) | ~~~~~^~~~~~~ xdrawchem/molecule_tools_2.cpp: In member function 'Text* Molecule::CalcMW(bool)': xdrawchem/molecule_tools_2.cpp:497:11: warning: variable 'tmp_txt1' set but not used [-Wunused-but-set-variable] 497 | Text *tmp_txt1; | ^~~~~~~~ xdrawchem/molecule_tools_2.cpp:495:30: warning: unused parameter 'from_change' [-Wunused-parameter] 495 | Text *Molecule::CalcMW( bool from_change ) | ~~~~~^~~~~~~~~~~ xdrawchem/molecule_tools_2.cpp: In member function 'Text* Molecule::CalcElementalAnalysis(bool)': xdrawchem/molecule_tools_2.cpp:529:45: warning: unused parameter 'show_dialog' [-Wunused-parameter] 529 | Text *Molecule::CalcElementalAnalysis( bool show_dialog ) | ~~~~~^~~~~~~~~~~ xdrawchem/molecule_tools_2.cpp: In member function 'void Molecule::AddPeak(double, QString, QString)': xdrawchem/molecule_tools_2.cpp:591:44: warning: unused parameter 's1' [-Wunused-parameter] 591 | void Molecule::AddPeak( double d1, QString s1, QString s2 ) | ~~~~~~~~^~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/myfiledialog.o xdrawchem/myfiledialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/netaccess.o xdrawchem/netaccess.cpp xdrawchem/netaccess.cpp: In member function 'QStringList NetAccess::getChoices(QString, QString, QString, bool)': xdrawchem/netaccess.cpp:54:15: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 54 | qDebug() << endl << "Results:" << endl << if1.Data() ; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from xdrawchem/netaccess.cpp:4: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/netaccess.cpp:54:37: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 54 | qDebug() << endl << "Results:" << endl << if1.Data() ; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/netaccess.cpp: In member function 'QString NetAccess::getCanonicalSmiles(QString, QString)': xdrawchem/netaccess.cpp:84:48: warning: unused parameter 'nserver' [-Wunused-parameter] 84 | QString NetAccess::getCanonicalSmiles( QString nserver, QString insmiles ) | ~~~~~~~~^~~~~~~ xdrawchem/netaccess.cpp:84:65: warning: unused parameter 'insmiles' [-Wunused-parameter] 84 | QString NetAccess::getCanonicalSmiles( QString nserver, QString insmiles ) | ~~~~~~~~^~~~~~~~ xdrawchem/netaccess.cpp: In member function 'bool NetAccess::runInChI(QString)': xdrawchem/netaccess.cpp:128:35: warning: unused parameter 'buildfile' [-Wunused-parameter] 128 | bool NetAccess::runInChI( QString buildfile ) | ~~~~~~~~^~~~~~~~~ xdrawchem/netaccess.cpp: In member function 'void NetAccess::slotUpdateDataReadProgress(int, int)': xdrawchem/netaccess.cpp:193:49: warning: unused parameter 'bytesRead' [-Wunused-parameter] 193 | void NetAccess::slotUpdateDataReadProgress( int bytesRead, int totalBytes ) | ~~~~^~~~~~~~~ xdrawchem/netaccess.cpp:193:64: warning: unused parameter 'totalBytes' [-Wunused-parameter] 193 | void NetAccess::slotUpdateDataReadProgress( int bytesRead, int totalBytes ) | ~~~~^~~~~~~~~~ xdrawchem/netaccess.cpp: In member function 'bool NetAccess::get3DMol(QString)': xdrawchem/netaccess.cpp:294:35: warning: unused parameter 'inmol' [-Wunused-parameter] 294 | bool NetAccess::get3DMol( QString inmol ) | ~~~~~~~~^~~~~ xdrawchem/netaccess.cpp: In member function 'void NetAccess::rf(bool)': xdrawchem/netaccess.cpp:299:26: warning: unused parameter 'error' [-Wunused-parameter] 299 | void NetAccess::rf( bool error ) | ~~~~~^~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/netchoosedialog.o xdrawchem/netchoosedialog.cpp xdrawchem/netchoosedialog.cpp: In member function 'void NetChooseDialog::cellDoubleClicked(int, int)': xdrawchem/netchoosedialog.cpp:113:54: warning: unused parameter 'col' [-Wunused-parameter] 113 | void NetChooseDialog::cellDoubleClicked(int row, int col) | ~~~~^~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/netdialog.o xdrawchem/netdialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/ngw.o xdrawchem/ngw.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/ngw.cpp:11: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/ngw.cpp: In member function 'virtual void NewGraphWidget::paintEvent(QPaintEvent*)': xdrawchem/ngw.cpp:25:47: warning: unused parameter 'pe' [-Wunused-parameter] 25 | void NewGraphWidget::paintEvent( QPaintEvent *pe ) | ~~~~~~~~~~~~~^~ xdrawchem/ngw.cpp: In member function 'void NewGraphWidget::PrintSetup()': xdrawchem/ngw.cpp:113:25: warning: 'virtual void QPrinter::setPageSize(QPagedPaintDevice::PageSize)' is deprecated: Use setPageSize(QPageSize) instead. [-Wdeprecated-declarations] 113 | printer->setPageSize( QPrinter::Letter ); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtPrintSupport/QPrinter:1, from xdrawchem/ngw.cpp:6: /usr/include/qt5/QtPrintSupport/qprinter.h:177:10: note: declared here 177 | void setPageSize(PageSize) override; | ^~~~~~~~~~~ xdrawchem/ngw.cpp:114:28: warning: 'void QPrinter::setOrientation(Orientation)' is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations] 114 | printer->setOrientation( QPrinter::Portrait ); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtPrintSupport/qprinter.h:172:10: note: declared here 172 | void setOrientation(Orientation); | ^~~~~~~~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/pagesetupdialog.o xdrawchem/pagesetupdialog.cpp In file included from xdrawchem/pagesetupdialog.cpp:10: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/prefs.h:6: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/pagesetupdialog.cpp: In member function 'void PageSetupDialog::SwapWH(int)': xdrawchem/pagesetupdialog.cpp:177:35: warning: unused parameter 'nx' [-Wunused-parameter] 177 | void PageSetupDialog::SwapWH( int nx ) | ~~~~^~ xdrawchem/pagesetupdialog.cpp: In member function 'PageSetupDialog::PageSetupDialog(QWidget*)': xdrawchem/pagesetupdialog.cpp:109:26: warning: 'phf' may be used uninitialized [-Wmaybe-uninitialized] 109 | paperHeight->setValue( phf ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xdrawchem/pagesetupdialog.cpp:70:17: note: 'phf' was declared here 70 | double pwf, phf; | ^~~ xdrawchem/pagesetupdialog.cpp:98:25: warning: 'pwf' may be used uninitialized [-Wmaybe-uninitialized] 98 | paperWidth->setValue( pwf ); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ xdrawchem/pagesetupdialog.cpp:70:12: note: 'pwf' was declared here 70 | double pwf, phf; | ^~~ xdrawchem/pagesetupdialog.cpp: In member function 'PageSetupDialog::onSuccessful()': xdrawchem/pagesetupdialog.cpp:137:9: warning: 'pwf' may be used uninitialized [-Wmaybe-uninitialized] 137 | int pwf, phf; | ^~~ xdrawchem/pagesetupdialog.cpp:137:14: warning: 'phf' may be used uninitialized [-Wmaybe-uninitialized] 137 | int pwf, phf; | ^~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/peptidebuilder.o xdrawchem/peptidebuilder.cpp xdrawchem/peptidebuilder.cpp: In constructor 'PeptDialog::PeptDialog(QWidget*)': xdrawchem/peptidebuilder.cpp:8:34: warning: unused parameter 'parent' [-Wunused-parameter] 8 | PeptDialog::PeptDialog( QWidget *parent ) | ~~~~~~~~~^~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/previewwidget.o xdrawchem/previewwidget.cpp xdrawchem/previewwidget.cpp: In member function 'virtual void PreviewWidget::paintEvent(QPaintEvent*)': xdrawchem/previewwidget.cpp:120:46: warning: unused parameter 'qp1' [-Wunused-parameter] 120 | void PreviewWidget::paintEvent( QPaintEvent *qp1 ) | ~~~~~~~~~~~~~^~~ In file included from xdrawchem/previewwidget.cpp:112: xdrawchem/symbol_xpm.h: At global scope: xdrawchem/symbol_xpm.h:575:20: warning: 'hl_bead_xpm' defined but not used [-Wunused-variable] 575 | static const char *hl_bead_xpm[] = { | ^~~~~~~~~~~ xdrawchem/symbol_xpm.h:414:21: warning: 'hl_p_orbital_xpm' defined but not used [-Wunused-variable] 414 | static const char * hl_p_orbital_xpm[] = { | ^~~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:391:21: warning: 'hl_sym_minus_xpm' defined but not used [-Wunused-variable] 391 | static const char * hl_sym_minus_xpm[] = { | ^~~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:369:21: warning: 'hl_sym_plus_xpm' defined but not used [-Wunused-variable] 369 | static const char * hl_sym_plus_xpm[] = { | ^~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:347:21: warning: 'hl_sym_2e_xpm' defined but not used [-Wunused-variable] 347 | static const char * hl_sym_2e_xpm[] = { | ^~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:325:21: warning: 'hl_sym_1e_xpm' defined but not used [-Wunused-variable] 325 | static const char * hl_sym_1e_xpm[] = { | ^~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:302:21: warning: 'hl_sym_delta_minus_xpm' defined but not used [-Wunused-variable] 302 | static const char * hl_sym_delta_minus_xpm[] = { | ^~~~~~~~~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:279:21: warning: 'hl_sym_delta_plus_xpm' defined but not used [-Wunused-variable] 279 | static const char * hl_sym_delta_plus_xpm[] = { | ^~~~~~~~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:182:21: warning: 'sym_2e_line_xpm' defined but not used [-Wunused-variable] 182 | static const char * sym_2e_line_xpm[] = { | ^~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:68:21: warning: 'sym_antibody' defined but not used [-Wunused-variable] 68 | static const char * sym_antibody[] = { | ^~~~~~~~~~~~ In file included from xdrawchem/previewwidget.cpp:19: xdrawchem/brackets.h:162:20: warning: 'circlebracket_xpm' defined but not used [-Wunused-variable] 162 | static const char *circlebracket_xpm[] = | ^~~~~~~~~~~~~~~~~ xdrawchem/brackets.h:41:20: warning: 'closedsquarebracket_xpm' defined but not used [-Wunused-variable] 41 | static const char *closedsquarebracket_xpm[] = | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from xdrawchem/previewwidget.cpp:10: xdrawchem/arrows.h:110:21: warning: 'arrow_topharpoon_xpm' defined but not used [-Wunused-variable] 110 | static const char * arrow_topharpoon_xpm[] = { | ^~~~~~~~~~~~~~~~~~~~ xdrawchem/arrows.h:74:21: warning: 'arrow_bottomharpoon_xpm' defined but not used [-Wunused-variable] 74 | static const char * arrow_bottomharpoon_xpm[] = { | ^~~~~~~~~~~~~~~~~~~~~~~ xdrawchem/arrows.h:38:21: warning: 'arrow_middle_xpm' defined but not used [-Wunused-variable] 38 | static const char * arrow_middle_xpm[] = { | ^~~~~~~~~~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/render2d.o xdrawchem/render2d.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/render2d.cpp:12: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/render2d.cpp: In member function 'void Render2D::setMode_DrawCurveArrow(curveArrowType)': xdrawchem/render2d.cpp:313:12: warning: enumeration value 'bezierArrow' not handled in switch [-Wswitch] 313 | switch ( type ) { | ^ xdrawchem/render2d.cpp:313:12: warning: enumeration value 'bezierhalfArrow' not handled in switch [-Wswitch] xdrawchem/render2d.cpp:313:12: warning: enumeration value 'bezierfullArrow' not handled in switch [-Wswitch] g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/render2d_draw.o xdrawchem/render2d_draw.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/render2d_draw.cpp:4: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/render2d_draw.cpp: In member function 'void Render2D::drawPolyline(QPainterPath, QColor)': xdrawchem/render2d_draw.cpp:110:54: warning: unused parameter 'c1' [-Wunused-parameter] 110 | void Render2D::drawPolyline( QPainterPath a1, QColor c1 ) | ~~~~~~~^~ xdrawchem/render2d_draw.cpp: In member function 'void Render2D::drawBezier(QVector, QColor, bool, int)': xdrawchem/render2d_draw.cpp:132:44: warning: unused parameter 'a1' [-Wunused-parameter] 132 | void Render2D::drawBezier( QVector a1, QColor c1, bool drawPoints, int arrowHead ) | ~~~~~~~~~~~~~~~~^~ xdrawchem/render2d_draw.cpp:132:55: warning: unused parameter 'c1' [-Wunused-parameter] 132 | void Render2D::drawBezier( QVector a1, QColor c1, bool drawPoints, int arrowHead ) | ~~~~~~~^~ xdrawchem/render2d_draw.cpp:132:64: warning: unused parameter 'drawPoints' [-Wunused-parameter] 132 | void Render2D::drawBezier( QVector a1, QColor c1, bool drawPoints, int arrowHead ) | ~~~~~^~~~~~~~~~ xdrawchem/render2d_draw.cpp:132:80: warning: unused parameter 'arrowHead' [-Wunused-parameter] 132 | void Render2D::drawBezier( QVector a1, QColor c1, bool drawPoints, int arrowHead ) | ~~~~^~~~~~~~~ xdrawchem/render2d_draw.cpp: In member function 'void Render2D::drawTextReverse(QChar, QPoint, QColor, QFont)': xdrawchem/render2d_draw.cpp:808:41: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 808 | QPoint bottomright( a.x() + fm.width( ch ), a.y() + fm.descent() ); | ~~~~~~~~^~~~~~ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from xdrawchem/render2d_draw.cpp:1: /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ xdrawchem/render2d_draw.cpp: In member function 'void Render2D::drawPixmap(QPoint, QPixmap)': xdrawchem/render2d_draw.cpp:843:26: warning: 'QTextStream& QTextStreamFunctions::hex(QTextStream&)' is deprecated: Use Qt::hex [-Wdeprecated-declarations] 843 | output_ts << hex << sumtotal << dec; | ^~~ /usr/include/qt5/QtCore/qtextstream.h:277:74: note: declared here 277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s); | ^~~ xdrawchem/render2d_draw.cpp:843:45: warning: 'QTextStream& QTextStreamFunctions::dec(QTextStream&)' is deprecated: Use Qt::dec [-Wdeprecated-declarations] 843 | output_ts << hex << sumtotal << dec; | ^~~ /usr/include/qt5/QtCore/qtextstream.h:276:74: note: declared here 276 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::dec") QTextStream &dec(QTextStream &s); | ^~~ xdrawchem/render2d_draw.cpp:845:31: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 845 | output_ts << "end" << endl << "grestore" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/render2d_draw.cpp:845:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 845 | output_ts << "end" << endl << "grestore" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/render2d_print.o xdrawchem/render2d_print.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/render2d_print.cpp:5: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/render2d_print.cpp: In member function 'void Render2D::UpdatePageGeometry()': xdrawchem/render2d_print.cpp:24:32: warning: 'void QPrinter::setOrientation(Orientation)' is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations] 24 | printer->setOrientation( QPrinter::Portrait ); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtPrintSupport/QPrinter:1, from xdrawchem/render2d_print.cpp:1: /usr/include/qt5/QtPrintSupport/qprinter.h:172:10: note: declared here 172 | void setOrientation(Orientation); | ^~~~~~~~~~~~~~ xdrawchem/render2d_print.cpp:27:33: warning: 'virtual void QPrinter::setPageSize(QPagedPaintDevice::PageSize)' is deprecated: Use setPageSize(QPageSize) instead. [-Wdeprecated-declarations] 27 | printer->setPageSize( QPrinter::Letter ); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtPrintSupport/qprinter.h:177:10: note: declared here 177 | void setPageSize(PageSize) override; | ^~~~~~~~~~~ xdrawchem/render2d_print.cpp:32:33: warning: 'virtual void QPrinter::setPageSize(QPagedPaintDevice::PageSize)' is deprecated: Use setPageSize(QPageSize) instead. [-Wdeprecated-declarations] 32 | printer->setPageSize( QPrinter::Legal ); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtPrintSupport/qprinter.h:177:10: note: declared here 177 | void setPageSize(PageSize) override; | ^~~~~~~~~~~ xdrawchem/render2d_print.cpp:37:33: warning: 'virtual void QPrinter::setPageSize(QPagedPaintDevice::PageSize)' is deprecated: Use setPageSize(QPageSize) instead. [-Wdeprecated-declarations] 37 | printer->setPageSize( QPrinter::A4 ); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/qt5/QtPrintSupport/qprinter.h:177:10: note: declared here 177 | void setPageSize(PageSize) override; | ^~~~~~~~~~~ xdrawchem/render2d_print.cpp:57:32: warning: 'void QPrinter::setOrientation(Orientation)' is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations] 57 | printer->setOrientation( QPrinter::Landscape ); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtPrintSupport/qprinter.h:172:10: note: declared here 172 | void setOrientation(Orientation); | ^~~~~~~~~~~~~~ xdrawchem/render2d_print.cpp:60:33: warning: 'virtual void QPrinter::setPageSize(QPagedPaintDevice::PageSize)' is deprecated: Use setPageSize(QPageSize) instead. [-Wdeprecated-declarations] 60 | printer->setPageSize( QPrinter::Letter ); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtPrintSupport/qprinter.h:177:10: note: declared here 177 | void setPageSize(PageSize) override; | ^~~~~~~~~~~ xdrawchem/render2d_print.cpp:65:33: warning: 'virtual void QPrinter::setPageSize(QPagedPaintDevice::PageSize)' is deprecated: Use setPageSize(QPageSize) instead. [-Wdeprecated-declarations] 65 | printer->setPageSize( QPrinter::Legal ); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtPrintSupport/qprinter.h:177:10: note: declared here 177 | void setPageSize(PageSize) override; | ^~~~~~~~~~~ xdrawchem/render2d_print.cpp:70:33: warning: 'virtual void QPrinter::setPageSize(QPagedPaintDevice::PageSize)' is deprecated: Use setPageSize(QPageSize) instead. [-Wdeprecated-declarations] 70 | printer->setPageSize( QPrinter::A4 ); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/qt5/QtPrintSupport/qprinter.h:177:10: note: declared here 177 | void setPageSize(PageSize) override; | ^~~~~~~~~~~ xdrawchem/render2d_print.cpp: In member function 'void Render2D::Print(QString)': xdrawchem/render2d_print.cpp:93:31: warning: unused parameter 'epsname' [-Wunused-parameter] 93 | void Render2D::Print( QString epsname ) | ~~~~~~~~^~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/render2d_event.o xdrawchem/render2d_event.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/render2d_event.cpp:11: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/render2d_event.cpp:14: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qstringlist.h:41, from /usr/include/qt5/QtGui/qcolor.h:46, from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from xdrawchem/render2d_event.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ xdrawchem/render2d_event.cpp: In member function 'virtual void Render2D::mouseReleaseEvent(QMouseEvent*)': xdrawchem/render2d_event.cpp:663:18: warning: variable 'shiftdown' set but not used [-Wunused-but-set-variable] 663 | bool shiftdown = false; | ^~~~~~~~~ xdrawchem/render2d_event.cpp: In member function 'virtual void Render2D::mouseMoveEvent(QMouseEvent*)': xdrawchem/render2d_event.cpp:1301:33: warning: 'static QPixmap QPixmap::grabWidget(QObject*, const QRect&)' is deprecated: Use QWidget::grab() instead [-Wdeprecated-declarations] 1301 | pm = QPixmap::grabWidget( this, savebox ); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:120:20: note: declared here 120 | static QPixmap grabWidget(QObject *widget, const QRect &rect); | ^~~~~~~~~~ xdrawchem/render2d_event.cpp:1312:20: warning: 'Qt::DropAction QDrag::start(Qt::DropActions)' is deprecated: Use QDrag::exec() instead [-Wdeprecated-declarations] 1312 | drag->start(); | ~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtGui/QDrag:1, from xdrawchem/render2d_event.cpp:8: /usr/include/qt5/QtGui/qdrag.h:79:20: note: declared here 79 | Qt::DropAction start(Qt::DropActions supportedActions = Qt::CopyAction); | ^~~~~ xdrawchem/render2d_event.cpp: In member function 'virtual void Render2D::resizeEvent(QResizeEvent*)': xdrawchem/render2d_event.cpp:1869:44: warning: unused parameter 'rz' [-Wunused-parameter] 1869 | void Render2D::resizeEvent( QResizeEvent * rz ) | ~~~~~~~~~~~~~~~^~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/render2d_select.o xdrawchem/render2d_select.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/render2d_select.cpp:3: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/renderarea.o xdrawchem/renderarea.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/render2d_text.o xdrawchem/render2d_text.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/render2d_text.cpp:10: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/render2d_text.cpp:12: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QMouseEvent:1, from xdrawchem/render2d_text.cpp:3: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ xdrawchem/render2d_text.cpp: In member function 'void Render2D::DrawText_FinishText()': xdrawchem/render2d_text.cpp:77:40: warning: 'static QPixmap QPixmap::grabWidget(QObject*, int, int, int, int)' is deprecated: Use QWidget::grab() instead [-Wdeprecated-declarations] 77 | QPixmap ltpix = QPixmap::grabWidget( localtexteditor ); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from xdrawchem/render2d_text.cpp:5: /usr/include/qt5/QtGui/qpixmap.h:122:20: note: declared here 122 | static QPixmap grabWidget(QObject *widget, int x = 0, int y = 0, int w = -1, int h = -1); | ^~~~~~~~~~ xdrawchem/render2d_text.cpp: In member function 'void Render2D::DrawText_mouseReleaseEvent(QMouseEvent*, QPoint)': xdrawchem/render2d_text.cpp:237:58: warning: unused parameter 'e1' [-Wunused-parameter] 237 | void Render2D::DrawText_mouseReleaseEvent( QMouseEvent * e1, QPoint cqp ) | ~~~~~~~~~~~~~~^~ xdrawchem/render2d_text.cpp:237:69: warning: unused parameter 'cqp' [-Wunused-parameter] 237 | void Render2D::DrawText_mouseReleaseEvent( QMouseEvent * e1, QPoint cqp ) | ~~~~~~~^~~ xdrawchem/render2d_text.cpp: In member function 'QString Render2D::EditText(QPoint, QString, int, bool)': xdrawchem/render2d_text.cpp:554:36: warning: unused parameter 'origin' [-Wunused-parameter] 554 | QString Render2D::EditText( QPoint origin, QString intext, int justify, bool oneline ) | ~~~~~~~^~~~~~ xdrawchem/render2d_text.cpp:554:64: warning: unused parameter 'justify' [-Wunused-parameter] 554 | QString Render2D::EditText( QPoint origin, QString intext, int justify, bool oneline ) | ~~~~^~~~~~~ xdrawchem/render2d_text.cpp:554:78: warning: unused parameter 'oneline' [-Wunused-parameter] 554 | QString Render2D::EditText( QPoint origin, QString intext, int justify, bool oneline ) | ~~~~~^~~~~~~ xdrawchem/render2d_text.cpp: In member function 'int Render2D::GetCharWidth(QChar, QFont)': xdrawchem/render2d_text.cpp:592:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 592 | return fm.width( ch ); | ~~~~~~~~^~~~~~ In file included from /usr/include/qt5/QtGui/qpainter.h:59: /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ xdrawchem/render2d_text.cpp: In member function 'int Render2D::GetStringWidth(QString, QFont)': xdrawchem/render2d_text.cpp:604:20: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 604 | return fm.width( ch ); | ~~~~~~~~^~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ xdrawchem/render2d_text.cpp: In member function 'QRect Render2D::GetTextDimensions(QString, QFont)': xdrawchem/render2d_text.cpp:633:26: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 633 | lwidth = fm.width( l ); | ~~~~~~~~^~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/ringdialog.o xdrawchem/ringdialog.cpp xdrawchem/ringdialog.cpp: In member function 'void RingDialog::fromComboBox(int)': xdrawchem/ringdialog.cpp:46:36: warning: unused parameter 'i' [-Wunused-parameter] 46 | void RingDialog::fromComboBox( int i ) | ~~~~^ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/retro.o xdrawchem/retro.cpp In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/retro.cpp:7: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from xdrawchem/retro.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule.h:15: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/retro.cpp: In member function 'void ChemData::Retro(Molecule*)': xdrawchem/retro.cpp:24:34: warning: unused parameter 'm1' [-Wunused-parameter] 24 | void ChemData::Retro( Molecule * m1 ) | ~~~~~~~~~~~^~ xdrawchem/retro.cpp: In member function 'QString Molecule::BuildReactionList(QString)': xdrawchem/retro.cpp:29:46: warning: unused parameter 'inbond' [-Wunused-parameter] 29 | QString Molecule::BuildReactionList( QString inbond ) | ~~~~~~~~^~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/smilesdialog.o xdrawchem/smilesdialog.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/chemdata.h:11, from xdrawchem/smilesdialog.cpp:6: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/chemdata.h:10: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/symbol.o xdrawchem/symbol.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/symbol.cpp:5: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/symbol.cpp: In member function 'void Symbol::SetRotate(double)': xdrawchem/symbol.cpp:110:48: warning: 'QPixmap QPixmap::transformed(const QMatrix&, Qt::TransformationMode) const' is deprecated: Use transformed(const QTransform &, Qt::TransformationMode mode) [-Wdeprecated-declarations] 110 | rotateRegular = originalRegular.transformed( rm ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpen.h:45, from /usr/include/qt5/QtGui/qtextformat.h:49, from /usr/include/qt5/QtGui/QTextCharFormat:1, from xdrawchem/render2d.h:7: /usr/include/qt5/QtGui/qpixmap.h:134:13: note: declared here 134 | QPixmap transformed(const QMatrix &, Qt::TransformationMode mode = Qt::FastTransformation) const; | ^~~~~~~~~~~ xdrawchem/symbol.cpp:111:56: warning: 'QPixmap QPixmap::transformed(const QMatrix&, Qt::TransformationMode) const' is deprecated: Use transformed(const QTransform &, Qt::TransformationMode mode) [-Wdeprecated-declarations] 111 | rotateHighlighted = originalHighlighted.transformed( rm ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/qt5/QtGui/qpixmap.h:134:13: note: declared here 134 | QPixmap transformed(const QMatrix &, Qt::TransformationMode mode = Qt::FastTransformation) const; | ^~~~~~~~~~~ xdrawchem/symbol.cpp: In member function 'virtual DPoint* Symbol::FindNearestPoint(DPoint*, double&)': xdrawchem/symbol.cpp:514:44: warning: unused parameter 'target' [-Wunused-parameter] 514 | DPoint *Symbol::FindNearestPoint( DPoint * target, double &dist ) | ~~~~~~~~~^~~~~~ xdrawchem/symbol.cpp: In member function 'virtual bool Symbol::isWithinRect(QRect, bool)': xdrawchem/symbol.cpp:568:42: warning: unused parameter 'shiftdown' [-Wunused-parameter] 568 | bool Symbol::isWithinRect( QRect n, bool shiftdown ) | ~~~~~^~~~~~~~~ In file included from xdrawchem/symbol.cpp:12: xdrawchem/symbol_xpm.h: At global scope: xdrawchem/symbol_xpm.h:248:21: warning: 'sym_ring_up_xpm' defined but not used [-Wunused-variable] 248 | static const char * sym_ring_up_xpm[] = { | ^~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:182:21: warning: 'sym_2e_line_xpm' defined but not used [-Wunused-variable] 182 | static const char * sym_2e_line_xpm[] = { | ^~~~~~~~~~~~~~~ xdrawchem/symbol_xpm.h:68:21: warning: 'sym_antibody' defined but not used [-Wunused-variable] 68 | static const char * sym_antibody[] = { | ^~~~~~~~~~~~ xdrawchem/symbol_xpm.h:4:21: warning: 'p_double_xpm' defined but not used [-Wunused-variable] 4 | static const char * p_double_xpm[] = { | ^~~~~~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/textshapedialog.o xdrawchem/textshapedialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/text.o xdrawchem/text.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/text.cpp:9: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/text.cpp: In member function 'void Text::SetTextmaskFromXML(QString)': xdrawchem/text.cpp:335:40: warning: unused parameter 'xml_tag' [-Wunused-parameter] 335 | void Text::SetTextmaskFromXML( QString xml_tag ) | ~~~~~~~~^~~~~~~ xdrawchem/text.cpp: In member function 'virtual bool Text::isWithinRect(QRect, bool)': xdrawchem/text.cpp:359:40: warning: unused parameter 'shiftdown' [-Wunused-parameter] 359 | bool Text::isWithinRect( QRect n, bool shiftdown ) | ~~~~~^~~~~~~~~ xdrawchem/text.cpp: In member function 'virtual void Text::Render()': xdrawchem/text.cpp:374:8: warning: variable 'boldFlag' set but not used [-Wunused-but-set-variable] 374 | bool boldFlag = false, italicFlag = false, underlineFlag = false, superFlag = false, subFlag = false; | ^~~~~~~~ xdrawchem/text.cpp:374:26: warning: variable 'italicFlag' set but not used [-Wunused-but-set-variable] 374 | bool boldFlag = false, italicFlag = false, underlineFlag = false, superFlag = false, subFlag = false; | ^~~~~~~~~~ xdrawchem/text.cpp:374:46: warning: variable 'underlineFlag' set but not used [-Wunused-but-set-variable] 374 | bool boldFlag = false, italicFlag = false, underlineFlag = false, superFlag = false, subFlag = false; | ^~~~~~~~~~~~~ xdrawchem/text.cpp:619:10: warning: variable 'startpos' set but not used [-Wunused-but-set-variable] 619 | QPoint startpos = curpos; | ^~~~~~~~ xdrawchem/text.cpp: In member function 'virtual bool Text::Find(DPoint*)': xdrawchem/text.cpp:738:27: warning: unused parameter 'target' [-Wunused-parameter] 738 | bool Text::Find( DPoint * target ) | ~~~~~~~~~^~~~~~ xdrawchem/text.cpp: In member function 'virtual DPoint* Text::FindNearestPoint(DPoint*, double&)': xdrawchem/text.cpp:744:42: warning: unused parameter 'target' [-Wunused-parameter] 744 | DPoint *Text::FindNearestPoint( DPoint * target, double &dist ) | ~~~~~~~~~^~~~~~ xdrawchem/text.cpp: In member function 'Text::MoveCursor(DPoint*)': xdrawchem/text.cpp:1125:12: warning: 'newcur' may be used uninitialized [-Wmaybe-uninitialized] 1125 | cursor = newcur; | ~~~~~~~^~~~~~~~ xdrawchem/text.cpp:1101:9: note: 'newcur' was declared here 1101 | int newcur; | ^~~~~~ xdrawchem/text.cpp: In member function 'Text::Select(DPoint*, DPoint*)': xdrawchem/text.cpp:1163:15: warning: 'newcur' may be used uninitialized [-Wmaybe-uninitialized] 1163 | selectMin = newcur; | ~~~~~~~~~~^~~~~~~~ xdrawchem/text.cpp:1138:9: note: 'newcur' was declared here 1138 | int newcur; | ^~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/to3d.o xdrawchem/to3d.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/to3d.cpp:9: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from xdrawchem/molinfodialog.h:4, from xdrawchem/to3d.cpp:7: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/to3d.cpp:11: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qdir.h:43, from /usr/include/qt5/QtWidgets/qfiledialog.h:44, from /usr/include/qt5/QtWidgets/QFileDialog:1, from xdrawchem/to3d.cpp:4: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/tool_13c_nmr.o xdrawchem/tool_13c_nmr.cpp In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/tool_13c_nmr.h:6, from xdrawchem/tool_13c_nmr.cpp:3: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qlayout.h:44, from /usr/include/qt5/QtWidgets/qgridlayout.h:44, from /usr/include/qt5/QtWidgets/QGridLayout:1, from xdrawchem/tool_13c_nmr.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule.h:15: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/tool_1h_nmr.o xdrawchem/tool_1h_nmr.cpp In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/tool_1h_nmr.h:6, from xdrawchem/tool_1h_nmr.cpp:3: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qlayout.h:44, from /usr/include/qt5/QtWidgets/qgridlayout.h:44, from /usr/include/qt5/QtWidgets/QGridLayout:1, from xdrawchem/tool_1h_nmr.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule.h:15: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/tool_2d3d.o xdrawchem/tool_2d3d.cpp In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/tool_2d3d.h:4, from xdrawchem/tool_2d3d.cpp:3: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/QList:1, from xdrawchem/tool_2d3d.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule.h:15: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/tooldialog.o xdrawchem/tooldialog.cpp In file included from /usr/include/openbabel3/openbabel/mol.h:48, from xdrawchem/tooldialog.h:7, from xdrawchem/tooldialog.cpp:1: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11, from xdrawchem/tooldialog.h:8: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/QString:1, from xdrawchem/tooldialog.h:4: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule.h:15: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/tool_ir.o xdrawchem/tool_ir.cpp In file included from /usr/include/openbabel3/openbabel/atom.h:33, from xdrawchem/molecule.h:6, from xdrawchem/tool_ir.h:6, from xdrawchem/tool_ir.cpp:3: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from /usr/include/qt5/QtCore/qbytearray.h:52, from /usr/include/qt5/QtCore/qstring.h:50, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qlayout.h:44, from /usr/include/qt5/QtWidgets/qgridlayout.h:44, from /usr/include/qt5/QtWidgets/QGridLayout:1, from xdrawchem/tool_ir.cpp:1: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from xdrawchem/render2d.h:15, from xdrawchem/molecule.h:15: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/dpoint.h:12, from xdrawchem/drawable.h:11, from xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/xdc_toolbutton.o xdrawchem/xdc_toolbutton.cpp xdrawchem/xdc_toolbutton.cpp: In constructor 'XDC_ToolButton::XDC_ToolButton(QWidget*, QString)': xdrawchem/xdc_toolbutton.cpp:3:41: warning: unused parameter 'parent' [-Wunused-parameter] 3 | XDC_ToolButton::XDC_ToolButton(QWidget *parent, QString name) : | ~~~~~~~~~^~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/xml_reader.o xdrawchem/xml_reader.cpp xdrawchem/xml_reader.cpp: In member function 'void XML_Reader::parseBoundingBox(const QString&, double, double, double, double)': xdrawchem/xml_reader.cpp:119:64: warning: parameter 'x1' set but not used [-Wunused-but-set-parameter] 119 | void XML_Reader::parseBoundingBox( const QString &BBox, double x1, double y1, double x2, double y2 ) | ~~~~~~~^~ xdrawchem/xml_reader.cpp:119:75: warning: parameter 'y1' set but not used [-Wunused-but-set-parameter] 119 | void XML_Reader::parseBoundingBox( const QString &BBox, double x1, double y1, double x2, double y2 ) | ~~~~~~~^~ xdrawchem/xml_reader.cpp:119:86: warning: parameter 'x2' set but not used [-Wunused-but-set-parameter] 119 | void XML_Reader::parseBoundingBox( const QString &BBox, double x1, double y1, double x2, double y2 ) | ~~~~~~~^~ xdrawchem/xml_reader.cpp:119:97: warning: parameter 'y2' set but not used [-Wunused-but-set-parameter] 119 | void XML_Reader::parseBoundingBox( const QString &BBox, double x1, double y1, double x2, double y2 ) | ~~~~~~~^~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/xml_cml.o xdrawchem/xml_cml.cpp In file included from xdrawchem/render2d.h:15, from xdrawchem/bond.h:9, from xdrawchem/xml_cml.h:23, from xdrawchem/xml_cml.cpp:13: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtXml/qxml.h:64, from /usr/include/qt5/QtXml/QXmlDefaultHandler:1, from xdrawchem/xml_cml.h:19: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -dM -E -o .moc/moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/application.h -o .moc/moc_application.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/arrow.h -o .moc/moc_arrow.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/bondedit.h -o .moc/moc_bondedit.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/charsel.h -o .moc/moc_charsel.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/chemdata.h -o .moc/moc_chemdata.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/xruler.o xdrawchem/xruler.cpp In file included from xdrawchem/xruler.cpp:6: xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from xdrawchem/prefs.h:6: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ xdrawchem/xruler.cpp: In member function 'virtual void XRuler::paintEvent(QPaintEvent*)': xdrawchem/xruler.cpp:114:71: warning: 'QPixmap QPixmap::transformed(const QMatrix&, Qt::TransformationMode) const' is deprecated: Use transformed(const QTransform &, Qt::TransformationMode mode) [-Wdeprecated-declarations] 114 | p.drawPixmap( 0, c2 - ix - 15, numbers.transformed( wm ) ); | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from xdrawchem/xruler.cpp:2: /usr/include/qt5/QtGui/qpixmap.h:134:13: note: declared here 134 | QPixmap transformed(const QMatrix &, Qt::TransformationMode mode = Qt::FastTransformation) const; | ^~~~~~~~~~~ xdrawchem/xruler.cpp:116:66: warning: 'QPixmap QPixmap::transformed(const QMatrix&, Qt::TransformationMode) const' is deprecated: Use transformed(const QTransform &, Qt::TransformationMode mode) [-Wdeprecated-declarations] 116 | p.drawPixmap( 0, c2 - ix, numbers.transformed( wm ) ); | ~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/qt5/QtGui/qpixmap.h:134:13: note: declared here 134 | QPixmap transformed(const QMatrix &, Qt::TransformationMode mode = Qt::FastTransformation) const; | ^~~~~~~~~~~ /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/colorbutton.h -o .moc/moc_colorbutton.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/crings_dialog.h -o .moc/moc_crings_dialog.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/drawable.h -o .moc/moc_drawable.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/dyk.h -o .moc/moc_dyk.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/fixeddialog.h -o .moc/moc_fixeddialog.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/graphdialog.h -o .moc/moc_graphdialog.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/graphwidget.h -o .moc/moc_graphwidget.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/helpwindow.h -o .moc/moc_helpwindow.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/http.h -o .moc/moc_http.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/molinfodialog.h -o .moc/moc_molinfodialog.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/myfiledialog.h -o .moc/moc_myfiledialog.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/netaccess.h -o .moc/moc_netaccess.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/netchoosedialog.h -o .moc/moc_netchoosedialog.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/ngw.h -o .moc/moc_ngw.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/pagesetupdialog.h -o .moc/moc_pagesetupdialog.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/peptidebuilder.h -o .moc/moc_peptidebuilder.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/render2d.h -o .moc/moc_render2d.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/renderarea.h -o .moc/moc_renderarea.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/ringdialog.h -o .moc/moc_ringdialog.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/textshapedialog.h -o .moc/moc_textshapedialog.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/tooldialog.h -o .moc/moc_tooldialog.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/xdc_textedit.h -o .moc/moc_xdc_textedit.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/xdc_toolbutton.h -o .moc/moc_xdc_toolbutton.cpp /usr/lib64/qt5/bin/moc -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/.moc/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/c++/12/x86_64-redhat-linux -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-redhat-linux/12/include -I/usr/local/include -I/usr/include xdrawchem/xruler.h -o .moc/moc_xruler.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_application.o .moc/moc_application.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_arrow.o .moc/moc_arrow.cpp In file included from .moc/../xdrawchem/render2d.h:15, from .moc/../xdrawchem/arrow.h:9, from .moc/moc_arrow.cpp:10: .moc/../xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': .moc/../xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from .moc/../xdrawchem/dpoint.h:12, from .moc/../xdrawchem/drawable.h:11, from .moc/../xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_charsel.o .moc/moc_charsel.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_bondedit.o .moc/moc_bondedit.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_colorbutton.o .moc/moc_colorbutton.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_chemdata.o .moc/moc_chemdata.cpp In file included from .moc/../xdrawchem/render2d.h:15, from .moc/../xdrawchem/bond.h:9, from .moc/../xdrawchem/chemdata.h:11, from .moc/moc_chemdata.cpp:10: .moc/../xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': .moc/../xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from .moc/../xdrawchem/dpoint.h:12, from .moc/../xdrawchem/drawable.h:11, from .moc/../xdrawchem/chemdata.h:10: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_drawable.o .moc/moc_drawable.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_crings_dialog.o .moc/moc_crings_dialog.cpp In file included from .moc/../xdrawchem/render2d.h:15, from .moc/../xdrawchem/crings_dialog.h:27, from .moc/moc_crings_dialog.cpp:10: .moc/../xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': .moc/../xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from .moc/../xdrawchem/dpoint.h:12, from .moc/../xdrawchem/drawable.h:11, from .moc/../xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ In file included from /usr/include/openbabel3/openbabel/atom.h:33, from .moc/../xdrawchem/molecule.h:6, from .moc/../xdrawchem/crings_dialog.h:29: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from .moc/../xdrawchem/molecule.h:11: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/bits/unique_ptr.h:37, from /usr/include/c++/12/memory:76, from .moc/moc_crings_dialog.cpp:9: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_fixeddialog.o .moc/moc_fixeddialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_dyk.o .moc/moc_dyk.cpp In file included from .moc/../xdrawchem/dyk.h:8, from .moc/moc_dyk.cpp:10: .moc/../xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': .moc/../xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from .moc/../xdrawchem/prefs.h:6: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_graphdialog.o .moc/moc_graphdialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_graphwidget.o .moc/moc_graphwidget.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_helpwindow.o .moc/moc_helpwindow.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_http.o .moc/moc_http.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_molinfodialog.o .moc/moc_molinfodialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_myfiledialog.o .moc/moc_myfiledialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_netaccess.o .moc/moc_netaccess.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_netchoosedialog.o .moc/moc_netchoosedialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_ngw.o .moc/moc_ngw.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_pagesetupdialog.o .moc/moc_pagesetupdialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_peptidebuilder.o .moc/moc_peptidebuilder.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_renderarea.o .moc/moc_renderarea.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_render2d.o .moc/moc_render2d.cpp In file included from .moc/../xdrawchem/render2d.h:15, from .moc/moc_render2d.cpp:10: .moc/../xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': .moc/../xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from .moc/../xdrawchem/dpoint.h:12, from .moc/../xdrawchem/drawable.h:11, from .moc/../xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_ringdialog.o .moc/moc_ringdialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_textshapedialog.o .moc/moc_textshapedialog.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_tooldialog.o .moc/moc_tooldialog.cpp In file included from /usr/include/openbabel3/openbabel/mol.h:48, from .moc/../xdrawchem/tooldialog.h:7, from .moc/moc_tooldialog.cpp:10: /usr/include/openbabel3/openbabel/base.h: In member function 'virtual const char* OpenBabel::OBBase::GetTitle(bool) const': /usr/include/openbabel3/openbabel/base.h:286:49: warning: unused parameter 'replaceNewlines' [-Wunused-parameter] 286 | virtual const char *GetTitle(bool UNUSED(replaceNewlines) = true) const { return "";} | ^ /usr/include/openbabel3/openbabel/base.h:37:20: note: in definition of macro 'UNUSED' 37 | # define UNUSED(x) x | ^ In file included from /usr/include/openbabel3/openbabel/format.h:22, from /usr/include/openbabel3/openbabel/obconversion.h:37, from .moc/../xdrawchem/molecule.h:11, from .moc/../xdrawchem/tooldialog.h:8: /usr/include/openbabel3/openbabel/plugin.h: At global scope: /usr/include/openbabel3/openbabel/plugin.h:41:42: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 41 | struct OBERROR CharPtrLess : public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/bits/unique_ptr.h:37, from /usr/include/c++/12/memory:76, from .moc/moc_tooldialog.cpp:9: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ In file included from .moc/../xdrawchem/render2d.h:15, from .moc/../xdrawchem/molecule.h:15: .moc/../xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': .moc/../xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from .moc/../xdrawchem/dpoint.h:12, from .moc/../xdrawchem/drawable.h:11, from .moc/../xdrawchem/render2d.h:12: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_xdc_textedit.o .moc/moc_xdc_textedit.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_xdc_toolbutton.o .moc/moc_xdc_toolbutton.cpp g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -D_REENTRANT -fPIC -DUNIX -DRINGHOME=\"/usr/share/xdrawchem\" -DXDC_SERVER=\"http://www.woodsidelabs.com/chemistry\" -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/openbabel3 -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/moc_xruler.o .moc/moc_xruler.cpp In file included from .moc/../xdrawchem/xruler.h:4, from .moc/moc_xruler.cpp:10: .moc/../xdrawchem/prefs.h: In member function 'bool Preferences::SavePrefs()': .moc/../xdrawchem/prefs.h:162:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 162 | tout << "FIXED_ARROW true" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from .moc/../xdrawchem/prefs.h:6: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:164:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 164 | tout << "FIXED_ARROW false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:167:42: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 167 | tout << "FIXED_BOND true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:169:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 169 | tout << "FIXED_BOND false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:172:45: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 172 | tout << "FIX_HYDROGENS true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:174:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 174 | tout << "FIX_HYDROGENS false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:177:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 177 | tout << "DYK_TF true" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:179:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 179 | tout << "DYK_TF false" << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:181:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 181 | tout << "DYKCOUNT " << dykcount << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:182:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 182 | tout << "ARROW_LENGTH " << arrow_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:183:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 183 | tout << "ARROW_ANGLE " << arrow_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:184:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 184 | tout << "BOND_LENGTH " << bond_fixedlength << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:185:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 185 | tout << "BOND_ANGLE " << bond_fixedangle << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:186:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 186 | tout << "DBOND_OFFSET " << dbond_offset << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:187:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 187 | tout << "PAPER_SIZE " << paper_size << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:188:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 188 | tout << "PAPER_ORIENT " << paper_orient << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:189:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 189 | tout << "PAPER_WIDTH " << paper_width << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:190:52: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 190 | tout << "PAPER_HEIGHT " << paper_height << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:191:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 191 | tout << "UNITS " << units << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:192:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 192 | tout << "DRAWGRID " << drawgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:193:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 193 | tout << "SNAPGRID " << snapgrid << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:194:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 194 | tout << "GRIDMODE " << gridmode << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:195:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 195 | tout << "GRIDSPACE " << gridspace << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:196:55: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 196 | tout << "MAINFONT " << mainFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ .moc/../xdrawchem/prefs.h:197:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 197 | tout << "RULERFONT " << rulerFont.toString() << endl; | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o bin/xdrawchem .obj/application.o .obj/application_ob.o .obj/application_ring.o .obj/arrow.o .obj/biotools.o .obj/bond.o .obj/bondedit.o .obj/boshcp.o .obj/bracket.o .obj/cdx2cdxml.o .obj/cdxml_reader.o .obj/charsel.o .obj/chemdata_cdx.o .obj/chemdata_cdxml.o .obj/chemdata_cml.o .obj/chemdata.o .obj/chemdata_edit.o .obj/chemdata_event.o .obj/chemdata_mdl.o .obj/chemdata_rw.o .obj/chemdata_rxn.o .obj/chemdata_tools.o .obj/chemdata_xdc.o .obj/chemdata_xml.o .obj/colorbutton.o .obj/crings_dialog.o .obj/curvearrow.o .obj/drawable.o .obj/dyk.o .obj/fixeddialog.o .obj/gobject.o .obj/graphdialog.o .obj/graphwidget.o .obj/helpwindow.o .obj/http.o .obj/ioiface.o .obj/main.o .obj/molecule_1h_nmr.o .obj/molecule.o .obj/molecule_obmol.o .obj/molecule_smiles.o .obj/molecule_sssr.o .obj/molecule_tools_1.o .obj/molecule_tools_2.o .obj/molinfodialog.o .obj/myfiledialog.o .obj/netaccess.o .obj/netchoosedialog.o .obj/netdialog.o .obj/ngw.o .obj/pagesetupdialog.o .obj/peptidebuilder.o .obj/previewwidget.o .obj/render2d.o .obj/render2d_draw.o .obj/render2d_event.o .obj/render2d_print.o .obj/render2d_select.o .obj/render2d_text.o .obj/renderarea.o .obj/retro.o .obj/ringdialog.o .obj/smilesdialog.o .obj/symbol.o .obj/text.o .obj/textshapedialog.o .obj/to3d.o .obj/tool_13c_nmr.o .obj/tool_1h_nmr.o .obj/tool_2d3d.o .obj/tooldialog.o .obj/tool_ir.o .obj/xdc_toolbutton.o .obj/xml_cml.o .obj/xml_reader.o .obj/xruler.o .obj/moc_application.o .obj/moc_arrow.o .obj/moc_bondedit.o .obj/moc_charsel.o .obj/moc_chemdata.o .obj/moc_colorbutton.o .obj/moc_crings_dialog.o .obj/moc_drawable.o .obj/moc_dyk.o .obj/moc_fixeddialog.o .obj/moc_graphdialog.o .obj/moc_graphwidget.o .obj/moc_helpwindow.o .obj/moc_http.o .obj/moc_molinfodialog.o .obj/moc_myfiledialog.o .obj/moc_netaccess.o .obj/moc_netchoosedialog.o .obj/moc_ngw.o .obj/moc_pagesetupdialog.o .obj/moc_peptidebuilder.o .obj/moc_render2d.o .obj/moc_renderarea.o .obj/moc_ringdialog.o .obj/moc_textshapedialog.o .obj/moc_tooldialog.o .obj/moc_xdc_textedit.o .obj/moc_xdc_toolbutton.o .obj/moc_xruler.o -lopenbabel /usr/lib64/libQt5PrintSupport.so /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Xml.so /usr/lib64/libQt5Network.so /usr/lib64/libQt5Core.so -lGL -lpthread /usr/include/c++/12/ext/aligned_buffer.h:47:12: note: array types have different bounds 47 | struct __aligned_membuf | ^ /usr/include/c++/12/ext/aligned_buffer.h:47:12: note: type 'struct __aligned_membuf' itself violates the C++ One Definition Rule xdrawchem/ioiface.cpp:30:8: warning: type 'struct Point' violates the C++ One Definition Rule [-Wodr] 30 | struct Point | ^ xdrawchem/molecule_obmol.cpp:11:8: note: a different type is defined in another translation unit 11 | struct Point | ^ xdrawchem/ioiface.cpp:33:12: note: the first difference of corresponding definitions is field 'x' 33 | double x, y; | ^ xdrawchem/molecule_obmol.cpp:14:11: note: a field of same name but different type is defined in another translation unit 14 | float x, y; | ^ xdrawchem/ioiface.cpp:30:8: note: type 'double' should match type 'float' 30 | struct Point | ^ /usr/include/c++/12/bits/stl_pair.h:185:12: note: type 'const struct Point' itself violates the C++ One Definition Rule 185 | struct pair | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RoN6r2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xdrawchem-1.10.2-1/xdrawchem-qt5 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64 'INSTALL=/usr/bin/install -p' INSTALL_ROOT=/builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64 /usr/lib64/qt5/bin/qmake -install qinstall -exe bin/xdrawchem /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/bin/xdrawchem /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/6ring_boat.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/6ring_boat.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/6ring_boat.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/6ring_boat.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/6ring_chair.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/6ring_chair.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/6ring_chair.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/6ring_chair.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/adenine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/adenine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/alanine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/alanine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/anthracene.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/anthracene.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/arginine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/arginine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/arrowtool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/arrowtool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/asparagine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/asparagine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/aspartic_acid.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/aspartic_acid.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/back.xpm /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/back.xpm /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/benzene.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/benzene.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/benzene.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/benzene.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/biotin.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/biotin.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/biphenyl.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/biphenyl.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/boc.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/boc.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/boldtool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/boldtool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/brackettool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/brackettool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/caslist.txt /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/caslist.txt /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/chaintool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/chaintool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/CMakeLists.txt /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/CMakeLists.txt /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/COPYRIGHT.txt /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/COPYRIGHT.txt /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/copytool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/copytool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/curvearrowtool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/curvearrowtool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cuttool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cuttool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cyclobutane.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cyclobutane.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cyclobutane.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cyclobutane.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cycloheptane.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cycloheptane.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cyclohexane.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cyclohexane.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cyclohexane.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cyclohexane.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cyclooctane.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cyclooctane.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cyclopentadiene-sp.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cyclopentadiene-sp.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cyclopentadiene.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cyclopentadiene.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cyclopentadiene.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cyclopentadiene.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cyclopentane.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cyclopentane.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cyclopentane.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cyclopentane.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cyclopropane.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cyclopropane.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cyclopropane.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cyclopropane.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cysteine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cysteine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/cytosine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/cytosine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/d-fructose.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/d-fructose.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/d-glucose.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/d-glucose.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/dabcyl.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/dabcyl.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/dabsyl.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/dabsyl.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/dansyl.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/dansyl.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/dashtool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/dashtool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/deoxyribose.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/deoxyribose.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/downtool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/downtool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/edans.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/edans.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/editcut.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/editcut.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/editpaste.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/editpaste.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/erasetool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/erasetool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/filenew.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/filenew.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/fileopen.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/fileopen.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/fileprint.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/fileprint.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/filesave.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/filesave.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/fmoc.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/fmoc.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/forward.xpm /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/forward.xpm /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/glutamic_acid.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/glutamic_acid.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/glutamine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/glutamine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/glycine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/glycine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/GPL.txt /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/GPL.txt /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/guanine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/guanine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/histidine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/histidine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/HISTORY.txt /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/HISTORY.txt /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/home.xpm /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/home.xpm /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/imidazole.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/imidazole.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/imidazole.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/imidazole.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/indole.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/indole.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/isoleucine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/isoleucine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/italictool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/italictool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/justifycentertool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/justifycentertool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/justifylefttool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/justifylefttool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/justifyrighttool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/justifyrighttool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/lassotool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/lassotool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/leucine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/leucine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/line1.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/line1.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/line2.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/line2.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/line3.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/line3.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/line4.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/line4.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/line5.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/line5.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/linetool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/linetool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/lysine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/lysine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/mag_minus.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/mag_minus.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/mag_plus.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/mag_plus.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/methionine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/methionine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/naphthalene.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/naphthalene.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/nitrophenylalanine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/nitrophenylalanine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/pastetool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/pastetool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/phenylalanine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/phenylalanine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/proline.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/proline.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/purine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/purine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/pyrimidine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/pyrimidine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/retro.txt /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/retro.txt /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/ribose.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/ribose.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/ringtool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/ringtool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/selecttool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/selecttool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/serine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/serine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/statine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/statine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/steroid.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/steroid.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/subscript.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/subscript.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/superscript.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/superscript.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/sym_1e.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/sym_1e.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/sym_2e.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/sym_2e.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/sym_2e_line.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/sym_2e_line.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/sym_delta_minus.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/sym_delta_minus.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/sym_delta_plus.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/sym_delta_plus.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/sym_minus.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/sym_minus.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/sym_plus.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/sym_plus.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/symboltool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/symboltool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/texttool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/texttool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/threonine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/threonine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/thymine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/thymine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/tryptophan.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/tryptophan.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/tyrosine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/tyrosine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/underlinetool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/underlinetool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/uptool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/uptool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/uracil.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/uracil.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/valine.cml /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/valine.cml /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/wavytool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/wavytool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/xdrawchem-icon.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/xdrawchem-icon.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/xdrawchem_da.qm /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/xdrawchem_da.qm /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/xdrawchem_de.qm /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/xdrawchem_de.qm /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/xdrawchem_en.qm /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/xdrawchem_en.qm /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/xdrawchem_es.qm /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/xdrawchem_es.qm /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/xdrawchem_fr.qm /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/xdrawchem_fr.qm /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/xdrawchem_it.qm /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/xdrawchem_it.qm /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/xdrawchem_nl.qm /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/xdrawchem_nl.qm /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/xdrawchem_pl.qm /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/xdrawchem_pl.qm /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/xdrawchem_ru.qm /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/xdrawchem_ru.qm /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/ring/xdrawchemrc /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/xdrawchemrc /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/arrowtool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/arrowtool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/boldtool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/boldtool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/brackettool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/brackettool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/cb.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/cb.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/cbf.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/cbf.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/cbh.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/cbh.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/cinna.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/cinna.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/color_pulldown.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/color_pulldown.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/COPYRIGHT.txt /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/COPYRIGHT.txt /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/copytool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/copytool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/curvearrowtool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/curvearrowtool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/cuttool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/cuttool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/dashtool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/dashtool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/downtool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/downtool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/draw.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/draw.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/edit.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/edit.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/editmenu.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/editmenu.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/erasetool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/erasetool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/filemenu.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/filemenu.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/fileopen.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/fileopen.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/fileprint.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/fileprint.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/files.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/files.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/filesave.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/filesave.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/font_pulldown.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/font_pulldown.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/formatmenu.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/formatmenu.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/functions.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/functions.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/GPL.txt /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/GPL.txt /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/groupmenu.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/groupmenu.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/helpmenu.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/helpmenu.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/HISTORY.txt /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/HISTORY.txt /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/index.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/index.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/italictool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/italictool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/linetool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/linetool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/molinfo.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/molinfo.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/pastetool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/pastetool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/ringtool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/ringtool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/ringtoolbar.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/ringtoolbar.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/selecttool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/selecttool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/spectra.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/spectra.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/subscript.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/subscript.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/superscript.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/superscript.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/symboltool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/symboltool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/text.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/text.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/texttool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/texttool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/thick_pulldown.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/thick_pulldown.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/toolbar.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/toolbar.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/toolmenu.html /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/toolmenu.html /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/underlinetool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/underlinetool.png /usr/lib64/qt5/bin/qmake -install qinstall /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5/doc/uptool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc/uptool.png + mkdir -p /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/applications + install -Dpm 644 ring/xdrawchem-icon.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/icons/hicolor/48x48/apps/xdrawchem.png + desktop-file-install --dir /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/applications /builddir/build/SOURCES/xdrawchem.desktop + pushd /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem ~/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem ~/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 + rm -f caslist.txt CMakeLists.txt COPYRIGHT.txt GPL.txt HISTORY.txt + popd ~/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 + rm -rf /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/xdrawchem/doc + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64 xdrawchem --without-mo --with-qt + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.10.2-8.fc38 --unique-debug-suffix -1.10.2-8.fc38.x86_64 --unique-debug-src-base xdrawchem-1.10.2-8.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/xdrawchem-1.10.2-1/xdrawchem-qt5 extracting debug info from /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/bin/xdrawchem original debug info size: 37092kB, size after compression: 23488kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 3189 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: xdrawchem-1.10.2-8.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0vQFDr + umask 022 + cd /builddir/build/BUILD + cd xdrawchem-1.10.2-1/xdrawchem-qt5 + DOCDIR=/builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/doc/xdrawchem + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/doc/xdrawchem + cp -pr doc/COPYRIGHT.txt doc/GPL.txt doc/HISTORY.txt doc/arrowtool.png doc/boldtool.png doc/brackettool.png doc/cb.png doc/cbf.png doc/cbh.png doc/cinna.png doc/color_pulldown.png doc/copytool.png doc/curvearrowtool.png doc/cuttool.png doc/dashtool.png doc/downtool.png doc/draw.html doc/edit.html doc/editmenu.html doc/erasetool.png doc/filemenu.html doc/fileopen.png doc/fileprint.png doc/files.html doc/filesave.png doc/font_pulldown.png doc/formatmenu.html doc/functions.html doc/groupmenu.html doc/helpmenu.html doc/index.html doc/italictool.png doc/linetool.png doc/molinfo.html doc/pastetool.png doc/ringtool.png doc/ringtoolbar.png doc/selecttool.png doc/spectra.html doc/subscript.png doc/superscript.png doc/symboltool.png doc/text.html doc/texttool.png doc/thick_pulldown.png doc/toolbar.html doc/toolmenu.html doc/underlinetool.png doc/uptool.png /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/doc/xdrawchem + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.iHFWaU + umask 022 + cd /builddir/build/BUILD + cd xdrawchem-1.10.2-1/xdrawchem-qt5 + LICENSEDIR=/builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/licenses/xdrawchem + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/licenses/xdrawchem + cp -pr GPL.txt /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/licenses/xdrawchem + cp -pr COPYRIGHT.txt /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64/usr/share/licenses/xdrawchem + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/share/xdrawchem/xdrawchem_da.qm warning: File listed twice: /usr/share/xdrawchem/xdrawchem_de.qm warning: File listed twice: /usr/share/xdrawchem/xdrawchem_en.qm warning: File listed twice: /usr/share/xdrawchem/xdrawchem_es.qm warning: File listed twice: /usr/share/xdrawchem/xdrawchem_fr.qm warning: File listed twice: /usr/share/xdrawchem/xdrawchem_it.qm warning: File listed twice: /usr/share/xdrawchem/xdrawchem_nl.qm warning: File listed twice: /usr/share/xdrawchem/xdrawchem_pl.qm warning: File listed twice: /usr/share/xdrawchem/xdrawchem_ru.qm Provides: application() application(xdrawchem.desktop) xdrawchem = 1.10.2-8.fc38 xdrawchem(x86-64) = 1.10.2-8.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5Core.so.5(Qt_5.15)(64bit) libQt5Gui.so.5()(64bit) libQt5Gui.so.5(Qt_5)(64bit) libQt5Network.so.5()(64bit) libQt5Network.so.5(Qt_5)(64bit) libQt5PrintSupport.so.5()(64bit) libQt5PrintSupport.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libQt5Xml.so.5()(64bit) libQt5Xml.so.5(Qt_5)(64bit) 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.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libopenbabel.so.7()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) rtld(GNU_HASH) Processing files: xdrawchem-debugsource-1.10.2-8.fc38.x86_64 Provides: xdrawchem-debugsource = 1.10.2-8.fc38 xdrawchem-debugsource(x86-64) = 1.10.2-8.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xdrawchem-debuginfo-1.10.2-8.fc38.x86_64 Provides: debuginfo(build-id) = f869e99f14e41707021eab717b6c6f6afd9461d2 xdrawchem-debuginfo = 1.10.2-8.fc38 xdrawchem-debuginfo(x86-64) = 1.10.2-8.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xdrawchem-debugsource(x86-64) = 1.10.2-8.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64 Wrote: /builddir/build/RPMS/xdrawchem-1.10.2-8.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/xdrawchem-debugsource-1.10.2-8.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/xdrawchem-debuginfo-1.10.2-8.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e2v2Eu + umask 022 + cd /builddir/build/BUILD + cd xdrawchem-1.10.2-1/xdrawchem-qt5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xdrawchem-1.10.2-8.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.bK5ABh + umask 022 + cd /builddir/build/BUILD + rm -rf xdrawchem-1.10.2-1/xdrawchem-qt5 xdrawchem-1.10.2-1/xdrawchem-qt5.gemspec + RPM_EC=0 RPM build warnings: ++ jobs -p + exit 0 File listed twice: /usr/share/xdrawchem/xdrawchem_da.qm File listed twice: /usr/share/xdrawchem/xdrawchem_de.qm File listed twice: /usr/share/xdrawchem/xdrawchem_en.qm File listed twice: /usr/share/xdrawchem/xdrawchem_es.qm File listed twice: /usr/share/xdrawchem/xdrawchem_fr.qm File listed twice: /usr/share/xdrawchem/xdrawchem_it.qm File listed twice: /usr/share/xdrawchem/xdrawchem_nl.qm File listed twice: /usr/share/xdrawchem/xdrawchem_pl.qm File listed twice: /usr/share/xdrawchem/xdrawchem_ru.qm Child return code was: 0