* Package: media-gfx/panini-0.73.0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking panini-0.73.0.tar.gz to /var/tmp/portage/media-gfx/panini-0.73.0/work >>> Source unpacked in /var/tmp/portage/media-gfx/panini-0.73.0/work >>> Preparing source in /var/tmp/portage/media-gfx/panini-0.73.0/work/panini-0.73.0 ... * Running qmake ... Info: creating stash file /var/tmp/portage/media-gfx/panini-0.73.0/work/panini-0.73.0/.qmake.stash [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/panini-0.73.0/work/panini-0.73.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/panini-0.73.0/work/panini-0.73.0 ... make -j4 make -f Makefile.Release make[1]: Entering directory '/var/tmp/portage/media-gfx/panini-0.73.0/work/panini-0.73.0' /usr/lib64/qt5/bin/uic ui/mainwindow.ui -o build/ui_mainwindow.h /usr/lib64/qt5/bin/uic ui/picTypeDialog.ui -o build/ui_picTypeDialog.h /usr/lib64/qt5/bin/uic ui/About.ui -o build/ui_About.h /usr/lib64/qt5/bin/uic ui/ShowText.ui -o build/ui_ShowText.h ui/picTypeDialog.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget1'. /usr/lib64/qt5/bin/uic ui/TurnDialog.ui -o build/ui_TurnDialog.h /usr/lib64/qt5/bin/uic ui/CubeLimit_dialog.ui -o build/ui_CubeLimit_dialog.h x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -D_REENTRANT -fPIC -DVERSION=\"0.73.0\" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/pvQtPic.o src/pvQtPic.cpp x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -D_REENTRANT -fPIC -DVERSION=\"0.73.0\" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/pvQtView.o src/pvQtView.cpp x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -D_REENTRANT -fPIC -DVERSION=\"0.73.0\" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/pvQt_QTVR.o src/pvQt_QTVR.cpp x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -D_REENTRANT -fPIC -DVERSION=\"0.73.0\" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/picTypeDialog.o src/picTypeDialog.cpp In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtGui/qopengl.h:43, from /usr/include/qt5/QtOpenGL/qgl.h:45, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from src/pvQtView.h:33, from src/pvQtView.cpp:21: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qopengl.h:43, from /usr/include/qt5/QtOpenGL/qgl.h:45, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from src/pvQtView.h:33, from src/pvQtView.cpp:21: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtGui/qopengl.h:43, from /usr/include/qt5/QtOpenGL/qgl.h:45, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from src/pvQtView.h:33, from src/pvQtView.cpp:21: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qopengl.h:43, from /usr/include/qt5/QtOpenGL/qgl.h:45, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from src/pvQtView.h:33, from src/pvQtView.cpp:21: /usr/include/qt5/Gentoo/gentoo-qconfig.h:11: note: this is the location of the previous definition 11 | #define QT_OPENGL_ES_2 | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qapplication.h:43, from /usr/include/qt5/QtWidgets/QApplication:1, from build/ui_picTypeDialog.h:13, from src/picTypeDialog.h:36, from src/picTypeDialog.cpp:20: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qatomic.h:41, from /usr/include/qt5/QtCore/qvariant.h:43, from /usr/include/qt5/QtCore/QVariant:1, from build/ui_picTypeDialog.h:12, from src/picTypeDialog.h:36, from src/picTypeDialog.cpp:20: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qapplication.h:43, from /usr/include/qt5/QtWidgets/QApplication:1, from build/ui_picTypeDialog.h:13, from src/picTypeDialog.h:36, from src/picTypeDialog.cpp:20: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/qatomic.h:41, from /usr/include/qt5/QtCore/qvariant.h:43, from /usr/include/qt5/QtCore/QVariant:1, from build/ui_picTypeDialog.h:12, from src/picTypeDialog.h:36, from src/picTypeDialog.cpp:20: /usr/include/qt5/Gentoo/gentoo-qconfig.h:11: note: this is the location of the previous definition 11 | #define QT_OPENGL_ES_2 | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtGui/qimage.h:43, from /usr/include/qt5/QtGui/QImage:1, from src/pvQt_QTVR.cpp:39: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/QtCore:4, from src/pvQt_QTVR.cpp:38: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtGui/qimage.h:43, from /usr/include/qt5/QtGui/QImage:1, from src/pvQt_QTVR.cpp:39: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/QtCore:4, from src/pvQt_QTVR.cpp:38: /usr/include/qt5/Gentoo/gentoo-qconfig.h:11: note: this is the location of the previous definition 11 | #define QT_OPENGL_ES_2 | src/pvQt_QTVR.cpp:419:10: warning: multi-character character constant [-Wmultichar] 419 | case 'sean': | ^~~~~~ src/pvQt_QTVR.cpp:436:10: warning: multi-character character constant [-Wmultichar] 436 | case 'tref': | ^~~~~~ src/pvQt_QTVR.cpp:439:10: warning: multi-character character constant [-Wmultichar] 439 | case 'pdat': | ^~~~~~ src/pvQt_QTVR.cpp:513:10: warning: multi-character character constant [-Wmultichar] 513 | case 'moov': | ^~~~~~ src/pvQt_QTVR.cpp:525:13: warning: multi-character character constant [-Wmultichar] 525 | case 'cmov': | ^~~~~~ src/pvQt_QTVR.cpp:541:10: warning: multi-character character constant [-Wmultichar] 541 | case 'dcom': | ^~~~~~ src/pvQt_QTVR.cpp:544:10: warning: multi-character character constant [-Wmultichar] 544 | case 'cmvd': | ^~~~~~ src/pvQt_QTVR.cpp:548:10: warning: multi-character character constant [-Wmultichar] 548 | case 'trak': | ^~~~~~ src/pvQt_QTVR.cpp:566:10: warning: multi-character character constant [-Wmultichar] 566 | case 'tkhd': | ^~~~~~ src/pvQt_QTVR.cpp:569:10: warning: multi-character character constant [-Wmultichar] 569 | case 'tref': | ^~~~~~ src/pvQt_QTVR.cpp:573:10: warning: multi-character character constant [-Wmultichar] 573 | case 'mdia': | ^~~~~~ src/pvQt_QTVR.cpp:584:10: warning: multi-character character constant [-Wmultichar] 584 | case 'minf': | ^~~~~~ src/pvQt_QTVR.cpp:599:10: warning: multi-character character constant [-Wmultichar] 599 | case 'dinf': | ^~~~~~ src/pvQt_QTVR.cpp:605:10: warning: multi-character character constant [-Wmultichar] 605 | case 'stbl': | ^~~~~~ src/pvQt_QTVR.cpp:618:10: warning: multi-character character constant [-Wmultichar] 618 | case 'stco': | ^~~~~~ src/pvQt_QTVR.cpp:622:10: warning: multi-character character constant [-Wmultichar] 622 | case 'stsz': | ^~~~~~ src/pvQt_QTVR.cpp:625:10: warning: multi-character character constant [-Wmultichar] 625 | case 'stsc': | ^~~~~~ src/pvQt_QTVR.cpp:629:10: warning: multi-character character constant [-Wmultichar] 629 | case 'hdlr': | ^~~~~~ src/pvQt_QTVR.cpp:765:10: warning: multi-character character constant [-Wmultichar] 765 | case 'pano': | ^~~~~~ src/pvQt_QTVR.cpp:805:10: warning: multi-character character constant [-Wmultichar] 805 | case 'vide': | ^~~~~~ src/pvQt_QTVR.cpp:895:10: warning: multi-character character constant [-Wmultichar] 895 | case 'pano': | ^~~~~~ src/pvQt_QTVR.cpp:900:9: warning: multi-character character constant [-Wmultichar] 900 | case'vide': | ^~~~~~ src/pvQt_QTVR.cpp:1041:29: warning: multi-character character constant [-Wmultichar] 1041 | if (componentSubType == 'pano') | ^~~~~~ src/pvQt_QTVR.cpp:1044:30: warning: multi-character character constant [-Wmultichar] 1044 | gCurrentTrackMedia = 'pano'; | ^~~~~~ src/pvQt_QTVR.cpp:1047:33: warning: multi-character character constant [-Wmultichar] 1047 | if (componentSubType == 'vide') | ^~~~~~ src/pvQt_QTVR.cpp:1049:34: warning: multi-character character constant [-Wmultichar] 1049 | gCurrentTrackMedia = 'vide'; | ^~~~~~ src/pvQt_QTVR.cpp:1125:21: warning: multi-character character constant [-Wmultichar] 1125 | if (type == 'imgt') { | ^~~~~~ src/pvQt_QTVR.cpp:1187:23: warning: multi-character character constant [-Wmultichar] 1187 | if (m_panoType == kQTVRCube) { | ^~~~~~~~~ src/pvQt_QTVR.cpp:1189:30: warning: multi-character character constant [-Wmultichar] 1189 | } else if (m_panoType == 'hcyl' ){ | ^~~~~~ src/pvQt_QTVR.cpp:1193:30: warning: multi-character character constant [-Wmultichar] 1193 | } else if (m_panoType == 'vcyl' ){ | ^~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtGui/QtGui:4, from src/pvQtPic.h:77, from src/pvQtPic.cpp:83: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/QtCore:4, from /usr/include/qt5/QtGui/QtGuiDepends:3, from /usr/include/qt5/QtGui/QtGui:3, from src/pvQtPic.h:77, from src/pvQtPic.cpp:83: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtGui/QtGui:4, from src/pvQtPic.h:77, from src/pvQtPic.cpp:83: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/QtCore:4, from /usr/include/qt5/QtGui/QtGuiDepends:3, from /usr/include/qt5/QtGui/QtGui:3, from src/pvQtPic.h:77, from src/pvQtPic.cpp:83: /usr/include/qt5/Gentoo/gentoo-qconfig.h:11: note: this is the location of the previous definition 11 | #define QT_OPENGL_ES_2 | src/picTypeDialog.cpp: In member function ‘void picTypeDialog::freeToggled(bool)’: src/picTypeDialog.cpp:104:39: warning: unused parameter ‘ckd’ [-Wunused-parameter] 104 | void picTypeDialog::freeToggled( bool ckd ){ | ~~~~~^~~ src/pvQt_QTVR.cpp: In member function ‘bool QTVRDecoder::parseHeaders(const char*)’: src/pvQt_QTVR.cpp:332:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 332 | m_error = "fopen() failed"; | ^~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:348:44: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 348 | } while(atomSize > 0 && ftell( gFile ) < filesize ); | ~~~~~~~~~~~~~~~^~~~~~~~~~ src/pvQt_QTVR.cpp: In member function ‘long int QTVRDecoder::ReadQTMovieAtom()’: src/pvQt_QTVR.cpp:373:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 373 | m_error = "ReadQTMovieAtom: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:381:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 381 | m_error = "ReadQTMovieAtom: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:391:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 391 | m_error = "ReadQTMovieAtom: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:408:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 408 | m_error = "ReadQTMovieAtom: Extended size isn't supported"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:456:13: warning: unused variable ‘r’ [-Wunused-variable] 456 | int r = fseek(gFile, (long)filePos + atomSize, SEEK_SET); | ^ src/pvQt_QTVR.cpp: In member function ‘long int QTVRDecoder::ReadMovieAtom()’: src/pvQt_QTVR.cpp:482:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 482 | m_error = "ReadMovieAtom: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:489:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 489 | m_error = "ReadMovieAtom: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:501:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 501 | m_error = "ReadMovieAtom: Extended size isn't supported"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_DCOM(long int)’: src/pvQt_QTVR.cpp:665:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 665 | m_error = "ReadAtom_DCOM: fread() failed!\n"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:670:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 670 | m_error = "unsupported header compression scheme "; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:653:38: warning: unused parameter ‘size’ [-Wunused-parameter] 653 | void QTVRDecoder::ReadAtom_DCOM(long size) | ~~~~~^~~~ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_CMVD(long int)’: src/pvQt_QTVR.cpp:686:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 686 | m_error = "ReadAtom_CMVD: fread() failed!\n"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:697:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 697 | m_error = "Could not open temporary file for header decompression"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:702:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 702 | m_error = "zlib decompression failed"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_STCO(long int)’: src/pvQt_QTVR.cpp:743:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 743 | m_error = "ReadAtom_STCO: malloc() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:751:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 751 | m_error = "ReadAtom_STCO: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_STSZ(long int)’: src/pvQt_QTVR.cpp:877:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 877 | m_error = "ReadAtom_STSZ: malloc() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:884:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 884 | m_error = "ReadAtom_STSZ: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:909:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 909 | m_error="cubic panorama with less than 6 images"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:927:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 927 | m_error = "Too many tiles!"; | ^~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:947:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 947 | m_error = "Too many tiles!"; | ^~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_STSC(long int)’: src/pvQt_QTVR.cpp:977:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 977 | m_error = "ReadAtom_STSC: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:985:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 985 | m_error = "ReadAtom_STSC: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:998:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 998 | m_error = "ReadAtom_STSC: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:969:38: warning: unused parameter ‘size’ [-Wunused-parameter] 969 | void QTVRDecoder::ReadAtom_STSC(long size) | ~~~~~^~~~ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_HDLR(int)’: src/pvQt_QTVR.cpp:1021:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1021 | m_error = "ReadAtom_HDLR: malloc() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1028:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1028 | m_error = "ReadAtom_HDLR: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1039:12: warning: unused variable ‘t’ [-Wunused-variable] 1039 | char * t = (char*) & componentSubType; | ^ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_TKHD(long int)’: src/pvQt_QTVR.cpp:1072:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1072 | m_error = "ReadAtom_TKHD: fseek() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1079:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1079 | m_error = "ReadAtom_TKHD: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1065:38: warning: unused parameter ‘size’ [-Wunused-parameter] 1065 | void QTVRDecoder::ReadAtom_TKHD(long size) | ~~~~~^~~~ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_TREF(long int)’: src/pvQt_QTVR.cpp:1105:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1105 | m_error = "ReadAtom_TREF: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1114:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1114 | m_error = "ReadAtom_TREF: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1130:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1130 | m_error = "ReadAtom_TREF: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1139:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1139 | m_error = "Too many reference tracks!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1147:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1147 | m_error = "ReadAtom_TREF: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_QTVR_PDAT(long int)’: src/pvQt_QTVR.cpp:1166:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1166 | m_error = "ReadAtom_QTVR_PDAT: malloc() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1175:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1175 | m_error = "ReadAtom_PDAT: fread() failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1185:11: warning: unused variable ‘t’ [-Wunused-variable] 1185 | char *t = (char*)&m_panoType; | ^ src/pvQt_QTVR.cpp: In member function ‘bool QTVRDecoder::extractCubeImage(int, QImage*&)’: src/pvQt_QTVR.cpp:1235:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1235 | m_error = "not a cubic panorama"; | ^~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1247:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1247 | m_error = "Missing cubic images"; | ^~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1257:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1257 | m_error = "JPEG decoding failed"; | ^~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp: In member function ‘bool QTVRDecoder::extractCylImage(QImage*&)’: src/pvQt_QTVR.cpp:1270:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1270 | m_error = "not a cylindrical panorama"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1281:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1281 | m_error = "No usable JPEG image found"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1291:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1291 | m_error = "JPEG decoding failed"; | ^~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp: In member function ‘bool QTVRDecoder::SeekAndExtractImage_Tiled(int, QImage*&)’: src/pvQt_QTVR.cpp:1322:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1322 | m_error = "LoadTilesForFace: fseek failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1329:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1329 | m_error = "JPEG decoding failed"; | ^~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1341:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1341 | m_error = "non square tile"; | ^~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1346:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1346 | m_error = "tiles of different sizes"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp: In member function ‘bool QTVRDecoder::SeekAndExtractImageCyl_Tiled(QImage*&)’: src/pvQt_QTVR.cpp:1393:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1393 | m_error = "LoadTilesForFace: fseek failed!"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1400:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1400 | m_error = "JPEG decoding failed"; | ^~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1421:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1421 | m_error = "Tiles with different size found"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1429:13: warning: variable ‘right’ set but not used [-Wunused-but-set-variable] 1429 | int right=0; | ^~~~~ src/pvQt_QTVR.cpp: In member function ‘QImage* QTVRDecoder::getImage(int)’: src/pvQt_QTVR.cpp:1510:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1510 | m_error = "extractCubeImage() failed"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1522:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1522 | m_error = "extractCylImage() failed"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1531:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1531 | m_error = "No pano loaded"; | ^~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -D_REENTRANT -fPIC -DVERSION=\"0.73.0\" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/pictureTypes.o src/pictureTypes.cpp src/pvQt_QTVR.cpp: In function ‘int decompressZLIBFile(FILE*, FILE*)’: src/pvQt_QTVR.cpp:268:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | ret = Z_DATA_ERROR; /* and fall through */ | ^ src/pvQt_QTVR.cpp:269:13: note: here 269 | case Z_DATA_ERROR: | ^~~~ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_STCO(long int)’: src/pvQt_QTVR.cpp:748:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 748 | fread(atom, size, 1, gFile); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_STSZ(long int)’: src/pvQt_QTVR.cpp:881:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 881 | fread(atom, size, 1, gFile); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_HDLR(int)’: src/pvQt_QTVR.cpp:1025:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1025 | fread(atom, size, 1, gFile); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp: In member function ‘void QTVRDecoder::ReadAtom_QTVR_TREF(long int)’: src/pvQt_QTVR.cpp:1219:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1219 | fread(&(atom.trackRefType), 1,4, gFile); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1220:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1220 | fread(&atom.trackResolution, 1,2, gFile); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1221:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1221 | fread(&atom.trackRefIndex, 1,4, gFile); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtGui/QtGui:4, from src/pvQtPic.h:77, from src/pictureTypes.cpp:25: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/QtCore:4, from /usr/include/qt5/QtGui/QtGuiDepends:3, from /usr/include/qt5/QtGui/QtGui:3, from src/pvQtPic.h:77, from src/pictureTypes.cpp:25: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtGui/QtGui:4, from src/pvQtPic.h:77, from src/pictureTypes.cpp:25: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/QtCore:4, from /usr/include/qt5/QtGui/QtGuiDepends:3, from /usr/include/qt5/QtGui/QtGui:3, from src/pvQtPic.h:77, from src/pictureTypes.cpp:25: /usr/include/qt5/Gentoo/gentoo-qconfig.h:11: note: this is the location of the previous definition 11 | #define QT_OPENGL_ES_2 | src/pvQt_QTVR.cpp: In member function ‘bool QTVRDecoder::SeekAndExtractImageCyl_Tiled(QImage*&)’: src/pvQt_QTVR.cpp:1440:19: warning: ‘tilebtc’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1440 | memcpy(destPtr, srcPtr, tilebtc ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/pvQt_QTVR.cpp:1442:23: warning: ‘tilebpl’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1442 | srcPtr += tilebpl; | ^~~~~~~ src/pvQt_QTVR.cpp:1441:24: warning: ‘imgbpl’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1441 | destPtr += imgbpl; | ^~~~~~ src/pvQt_QTVR.cpp:1438:55: warning: ‘bpp’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1438 | unsigned char * destPtr = image->bits() + bpp * left; | ~~~~^~~~~~ src/pvQt_QTVR.cpp:1439:27: warning: ‘th’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1439 | for (int y = 0; y < th; y++ ){ | ~~^~~~ src/pvQt_QTVR.cpp:1434:53: warning: ‘tw’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1434 | left = image->size().width() - (t+1) * tw; | ~~~~~~^~~~ x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -D_REENTRANT -fPIC -DVERSION=\"0.73.0\" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/panosurface.o src/panosurface.cpp In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtGui/QtGui:4, from src/pvQtPic.h:77, from src/panosurface.h:51, from src/panosurface.cpp:25: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/QtCore:4, from /usr/include/qt5/QtGui/QtGuiDepends:3, from /usr/include/qt5/QtGui/QtGui:3, from src/pvQtPic.h:77, from src/panosurface.h:51, from src/panosurface.cpp:25: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtGui/QtGui:4, from src/pvQtPic.h:77, from src/panosurface.h:51, from src/panosurface.cpp:25: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/QtCore:4, from /usr/include/qt5/QtGui/QtGuiDepends:3, from /usr/include/qt5/QtGui/QtGui:3, from src/pvQtPic.h:77, from src/panosurface.h:51, from src/panosurface.cpp:25: /usr/include/qt5/Gentoo/gentoo-qconfig.h:11: note: this is the location of the previous definition 11 | #define QT_OPENGL_ES_2 | src/pvQtPic.cpp: In member function ‘bool pvQtPic::setFaceImage(pvQtPic::PicFace, int, int, void*, int, int, bool, bool, int)’: src/pvQtPic.cpp:102:17: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] 102 | ((bpc&0xFF) + (cpp&0xFF)<<8 + (align&0xFF)<<16 \ | ~~~~~~~~~~~^~~~~~~~~~~~ src/pvQtPic.cpp:772:18: note: in expansion of macro ‘kcode’ 772 | formats[i] = kcode(bitsPerColor,colorsPerPixel, | ^~~~~ src/pvQtPic.cpp:103:27: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] 102 | ((bpc&0xFF) + (cpp&0xFF)<<8 + (align&0xFF)<<16 \ | ~~~~ 103 | + (isfp?0x01000000:0) + (pack?0x02000000:0)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/pvQtPic.cpp:772:18: note: in expansion of macro ‘kcode’ 772 | formats[i] = kcode(bitsPerColor,colorsPerPixel, | ^~~~~ src/pvQtPic.cpp:755:59: warning: unused parameter ‘addr’ [-Wunused-parameter] 755 | int width, int height, void * addr, | ~~~~~~~^~~~ src/pvQtPic.cpp: In member function ‘bool pvQtPic::addimgsize(int, QSize)’: src/pvQtPic.cpp:861:10: warning: unused variable ‘ok’ [-Wunused-variable] 861 | bool ok = false; | ^~ src/pvQtPic.cpp: In member function ‘QImage* pvQtPic::loadRaster(int)’: src/pvQtPic.cpp:1084:35: warning: unused parameter ‘face’ [-Wunused-parameter] 1084 | QImage * pvQtPic::loadRaster( int face ) | ~~~~^~~~ In file included from src/pvQtView.cpp:28: /usr/include/GL/glext.h:6782:25: error: typedef ‘PFNGLDEPTHBOUNDSEXTPROC’ is initialized (use ‘decltype’ instead) 6782 | typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/GL/glext.h:6782:51: error: ‘GLclampd’ was not declared in this scope; did you mean ‘GLclampf’? 6782 | typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); | ^~~~~~~~ | GLclampf /usr/include/GL/glext.h:6782:66: error: ‘GLclampd’ was not declared in this scope; did you mean ‘GLclampf’? 6782 | ef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); | ^~~~~~~~ | GLclampf src/pvQtView.cpp: In member function ‘virtual void pvQtView::mouseDoubleClickEvent(QMouseEvent*)’: src/pvQtView.cpp:254:53: warning: unused parameter ‘pme’ [-Wunused-parameter] 254 | void pvQtView::mouseDoubleClickEvent( QMouseEvent * pme ){ | ~~~~~~~~~~~~~~^~~ src/pvQtView.cpp: In member function ‘virtual void pvQtView::wheelEvent(QWheelEvent*)’: src/pvQtView.cpp:361:25: warning: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta() [-Wdeprecated-declarations] 361 | int d = event->delta(); | ~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtGui/qtextlayout.h:49, from /usr/include/qt5/QtGui/qabstracttextdocumentlayout.h:45, from /usr/include/qt5/QtGui/QtGui:5, from src/pvQtPic.h:77, from src/pvQtView.h:34, from src/pvQtView.cpp:21: /usr/include/qt5/QtGui/qevent.h:219:16: note: declared here 219 | inline int delta() const { return qt4D; } | ^~~~~ src/pvQtView.cpp: In member function ‘void pvQtView::clipEyePosition()’: src/pvQtView.cpp:468:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 468 | register double s = eyeDistance; | ^ src/pvQtView.cpp: In member function ‘void pvQtView::showview()’: src/pvQtView.cpp:598:18: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 598 | s.sprintf("Y%.1f P%.1f R%.1f V%.1f eD%.2f eA(%.1f, %.1f) fS(%.2f, %.2f)", | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 599 | panAngle, tiltAngle, spinAngle, vFOV, eyeDistance, -hangle, -vangle, framex, framey); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from src/pvQtView.h:33, from src/pvQtView.cpp:21: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ src/pvQtView.cpp:601:18: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 601 | s.sprintf("Y%.1f P%.1f R%.1f V%.1f eD%.2f eS(%.2f, %.2f) fS(%.2f, %.2f)", | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 602 | panAngle, tiltAngle, spinAngle, vFOV, eyeDistance, eyex, eyey, framex, framey); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtOpenGL/qgl.h:46, from /usr/include/qt5/QtOpenGL/QGLWidget:1, from src/pvQtView.h:33, from src/pvQtView.cpp:21: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wextra -D_REENTRANT -fPIC -DVERSION=\"0.73.0\" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/panosphere.o src/panosphere.cpp make[1]: *** [Makefile.Release:458: build/pvQtView.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtGui/QtGui:4, from src/pvQtPic.h:77, from src/panosurface.h:51, from src/panosphere.h:40, from src/panosphere.cpp:32: /usr/include/qt5/QtGui/qtgui-config.h:4: warning: "QT_OPENGL_ES" redefined 4 | #define QT_OPENGL_ES true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/QtCore:4, from /usr/include/qt5/QtGui/QtGuiDepends:3, from /usr/include/qt5/QtGui/QtGui:3, from src/pvQtPic.h:77, from src/panosurface.h:51, from src/panosphere.h:40, from src/panosphere.cpp:32: /usr/include/qt5/Gentoo/gentoo-qconfig.h:10: note: this is the location of the previous definition 10 | #define QT_OPENGL_ES | In file included from /usr/include/qt5/QtGui/qtguiglobal.h:44, from /usr/include/qt5/QtGui/QtGui:4, from src/pvQtPic.h:77, from src/panosurface.h:51, from src/panosphere.h:40, from src/panosphere.cpp:32: /usr/include/qt5/QtGui/qtgui-config.h:5: warning: "QT_OPENGL_ES_2" redefined 5 | #define QT_OPENGL_ES_2 true | In file included from /usr/include/qt5/QtCore/qconfig.h:1, from /usr/include/qt5/QtCore/qglobal.h:66, from /usr/include/qt5/QtCore/QtCore:4, from /usr/include/qt5/QtGui/QtGuiDepends:3, from /usr/include/qt5/QtGui/QtGui:3, from src/pvQtPic.h:77, from src/panosurface.h:51, from src/panosphere.h:40, from src/panosphere.cpp:32: /usr/include/qt5/Gentoo/gentoo-qconfig.h:11: note: this is the location of the previous definition 11 | #define QT_OPENGL_ES_2 | src/panosurface.cpp: In member function ‘bool panosurface::getMemory()’: src/panosurface.cpp:50:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 50 | errmsg = "insufficient memory for panosurface"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/panosurface.cpp: In member function ‘void panosurface::map_projections()’: src/panosurface.cpp:193:17: warning: unused variable ‘cxa’ [-Wunused-variable] 193 | cxa = z, // cos(xa) | ^~~ src/panosurface.cpp:139:12: warning: unused variable ‘cminrect’ [-Wunused-variable] 139 | double cminrect = cos( amaxrect ); | ^~~~~~~~ src/panosphere.cpp: In constructor ‘panosphere::panosphere(int)’: src/panosphere.cpp:193:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 193 | register float * p = ps; | ^ make[1]: Leaving directory '/var/tmp/portage/media-gfx/panini-0.73.0/work/panini-0.73.0' make: *** [Makefile:42: release] Error 2 * ERROR: media-gfx/panini-0.73.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-gfx/panini-0.73.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/panini-0.73.0::gentoo'`. * The complete build log is located at '/var/log/portage/media-gfx:panini-0.73.0:20220103-145215.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/panini-0.73.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/panini-0.73.0/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/panini-0.73.0/work/panini-0.73.0' * S: '/var/tmp/portage/media-gfx/panini-0.73.0/work/panini-0.73.0'