tak po přidání toho C++ to háže chybu jinou:
[rellik@localhost luminance-v2.0.1-1]$ qmake
Project MESSAGE: Detecting Qt version:
Project MESSAGE: Qt4, OK
Project MESSAGE:
Project MESSAGE: Detecting exiv2:
Project MESSAGE: headers found in /usr/include/exiv2
Project MESSAGE:
Project MESSAGE: Detecting OpenEXR:
Project MESSAGE: headers found in /usr/include/OpenEXR
Project MESSAGE:
Project MESSAGE: Detecting fftw3:
Project MESSAGE: headers found in /usr/include
Project MESSAGE:
Project MESSAGE: Detecting libtiff:
Project MESSAGE: headers found in /usr/include
Project MESSAGE:
Project MESSAGE: Detecting gsl:
Project MESSAGE: headers found in /usr/include/gsl
Project MESSAGE:
Project MESSAGE: ********************************************************************
Project MESSAGE: Installation PREFIX=/usr/local
Project MESSAGE: Debug statements DISABLED
Project MESSAGE: Here's what will be installed:
Project MESSAGE: luminance ==> /usr/local/bin
Project MESSAGE: luminance.desktop ==> /usr/local/share/applications
Project MESSAGE: luminance.png ==> /usr/local/share/icons/hicolor/32x32/apps
Project MESSAGE: docs ==> /usr/local/share/luminance
Project MESSAGE: help ==> /usr/local/share/luminance
Project MESSAGE: i18n messages ==> /usr/local/share/luminance/i18n
Project MESSAGE: ********************************************************************
WARNING: /data/Download/HDR/luminance/luminance-v2.0.1-1/project.pro:449: Unescaped backslashes are deprecated.
[rellik@localhost luminance-v2.0.1-1]$ make
g++ -c -pipe -funroll-loops -fstrength-reduce -fschedule-insns2 -felide-constructors -frerun-loop-opt -fexceptions -fno-strict-aliasing -fexpensive-optimizations -ffast-math -pipe -msse2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DPIC -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DPIC -fPIC -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DHAVE_FFTW3F -DI18NDIR=\"/usr/local/share/luminance/i18n\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtWebKit -I/usr/lib/qt4/include -Isrc -I/usr/include/exiv2 -I/usr/include/OpenEXR -I/usr/include -I/usr/include/gsl -Igenerated_moc -Igenerated_uic -o generated_obj/pfs.o src/Libpfs/pfs.cpp
src/Libpfs/pfs.cpp: In member function ‘virtual const char* pfs::TagIteratorImpl::getNext()’:
src/Libpfs/pfs.cpp:87:5: warning: comparison between signed and unsigned integer expressions
src/Libpfs/pfs.cpp: In function ‘void pfs::writeTags(const pfs::TagContainerImpl*, FILE*)’:
src/Libpfs/pfs.cpp:520:31: error: format not a string literal and no format arguments
src/Libpfs/pfs.cpp: In member function ‘pfs::Frame* pfs::DOMIOImpl::readFrame(FILE*)’:
src/Libpfs/pfs.cpp:590:19: warning: comparison between signed and unsigned integer expressions
src/Libpfs/pfs.cpp: In member function ‘void pfs::DOMIOImpl::writeFrame(pfs::Frame*, FILE*)’:
src/Libpfs/pfs.cpp:628:67: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘std::map<const char*, pfs::ChannelImpl*, pfs::str_cmp, std::allocator<std::pair<const char* const, pfs::ChannelImpl*> > >::size_type’
In file included from src/Libpfs/pfs.cpp:42:0:
src/Libpfs/pfs.h: In copy constructor ‘pfs::SelfDestructPtr<T>::SelfDestructPtr(const pfs::SelfDestructPtr<T>&) [with T = pfs::TagIterator, pfs::SelfDestructPtr<T> = pfs::SelfDestructPtr<pfs::TagIterator>]’:
src/Libpfs/pfs.cpp:197:59: instantiated from here
src/Libpfs/pfs.h:68:20: warning: ‘pfs::SelfDestructPtr<pfs::TagIterator>::itsOwn’ will be initialized after
src/Libpfs/pfs.h:67:10: warning: ‘pfs::TagIterator* pfs::SelfDestructPtr<pfs::TagIterator>::ptr’
src/Libpfs/pfs.h:74:7: warning: when initialized here
src/Libpfs/pfs.h: In copy constructor ‘pfs::SelfDestructPtr<T>::SelfDestructPtr(const pfs::SelfDestructPtr<T>&) [with T = pfs::ChannelIterator, pfs::SelfDestructPtr<T> = pfs::SelfDestructPtr<pfs::ChannelIterator>]’:
src/Libpfs/pfs.cpp:486:68: instantiated from here
src/Libpfs/pfs.h:68:20: warning: ‘pfs::SelfDestructPtr<pfs::ChannelIterator>::itsOwn’ will be initialized after
src/Libpfs/pfs.h:67:10: warning: ‘pfs::ChannelIterator* pfs::SelfDestructPtr<pfs::ChannelIterator>::ptr’
src/Libpfs/pfs.h:74:7: warning: when initialized here
src/Libpfs/pfs.cpp: In member function ‘void pfs::DOMIOImpl::writeFrame(pfs::Frame*, FILE*)’:
src/Libpfs/pfs.cpp:625:44: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
src/Libpfs/pfs.cpp:644:80: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make: *** [generated_obj/pfs.o] Error 1
[rellik@localhost luminance-v2.0.1-1]$ make
g++ -c -pipe -funroll-loops -fstrength-reduce -fschedule-insns2 -felide-constructors -frerun-loop-opt -fexceptions -fno-strict-aliasing -fexpensive-optimizations -ffast-math -pipe -msse2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DPIC -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -DPIC -fPIC -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DHAVE_FFTW3F -DI18NDIR=\"/usr/local/share/luminance/i18n\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtWebKit -I/usr/lib/qt4/include -Isrc -I/usr/include/exiv2 -I/usr/include/OpenEXR -I/usr/include -I/usr/include/gsl -Igenerated_moc -Igenerated_uic -o generated_obj/pfs.o src/Libpfs/pfs.cpp
src/Libpfs/pfs.cpp: In member function ‘virtual const char* pfs::TagIteratorImpl::getNext()’:
src/Libpfs/pfs.cpp:87:5: warning: comparison between signed and unsigned integer expressions
src/Libpfs/pfs.cpp: In function ‘void pfs::writeTags(const pfs::TagContainerImpl*, FILE*)’:
src/Libpfs/pfs.cpp:520:31: error: format not a string literal and no format arguments
src/Libpfs/pfs.cpp: In member function ‘pfs::Frame* pfs::DOMIOImpl::readFrame(FILE*)’:
src/Libpfs/pfs.cpp:590:19: warning: comparison between signed and unsigned integer expressions
src/Libpfs/pfs.cpp: In member function ‘void pfs::DOMIOImpl::writeFrame(pfs::Frame*, FILE*)’:
src/Libpfs/pfs.cpp:628:67: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘std::map<const char*, pfs::ChannelImpl*, pfs::str_cmp, std::allocator<std::pair<const char* const, pfs::ChannelImpl*> > >::size_type’
In file included from src/Libpfs/pfs.cpp:42:0:
src/Libpfs/pfs.h: In copy constructor ‘pfs::SelfDestructPtr<T>::SelfDestructPtr(const pfs::SelfDestructPtr<T>&) [with T = pfs::TagIterator, pfs::SelfDestructPtr<T> = pfs::SelfDestructPtr<pfs::TagIterator>]’:
src/Libpfs/pfs.cpp:197:59: instantiated from here
src/Libpfs/pfs.h:68:20: warning: ‘pfs::SelfDestructPtr<pfs::TagIterator>::itsOwn’ will be initialized after
src/Libpfs/pfs.h:67:10: warning: ‘pfs::TagIterator* pfs::SelfDestructPtr<pfs::TagIterator>::ptr’
src/Libpfs/pfs.h:74:7: warning: when initialized here
src/Libpfs/pfs.h: In copy constructor ‘pfs::SelfDestructPtr<T>::SelfDestructPtr(const pfs::SelfDestructPtr<T>&) [with T = pfs::ChannelIterator, pfs::SelfDestructPtr<T> = pfs::SelfDestructPtr<pfs::ChannelIterator>]’:
src/Libpfs/pfs.cpp:486:68: instantiated from here
src/Libpfs/pfs.h:68:20: warning: ‘pfs::SelfDestructPtr<pfs::ChannelIterator>::itsOwn’ will be initialized after
src/Libpfs/pfs.h:67:10: warning: ‘pfs::ChannelIterator* pfs::SelfDestructPtr<pfs::ChannelIterator>::ptr’
src/Libpfs/pfs.h:74:7: warning: when initialized here
src/Libpfs/pfs.cpp: In member function ‘void pfs::DOMIOImpl::writeFrame(pfs::Frame*, FILE*)’:
src/Libpfs/pfs.cpp:625:44: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
src/Libpfs/pfs.cpp:644:80: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make: *** [generated_obj/pfs.o] Error 1