thanks. a lot of very valuable input to work on. Yuv Markku Kolkka wrote: > Yuval Levy kirjoitti viestissään (lähetysaika tiistai, 19. > toukokuuta 2009): >> In file included from /usr/include/c++/4.3/ext/hash_set:64, >> from >> /usr/include/boost/graph/adjacency_list.hpp:22, from >> /home/yuv/src/hugin/src/hugin_base/algorithms/optimizer/ImageG >> raph.h:34, from >> /home/yuv/src/hugin/src/hugin_base/algorithms/optimizer/PTOpti >> mizer.h:180, from >> /home/yuv/src/hugin/src/hugin1/PT/PTOptimise.h:30, from >> /home/yuv/src/hugin/src/hugin1/base_wx/MyProgressDialog.cpp:33 >> : /usr/include/c++/4.3/backward/backward_warning.h:33:2: >> warning: #warning This file includes at least one deprecated >> or antiquated header which may be removed without further >> notice at a future date. Please use a non-deprecated interface >> with equivalent functionality instead. For a listing of >> replacement headers and interfaces, consult the file >> backward_warning.h. To disable this warning use >> -Wno-deprecated. > > The Boost library installed in your system uses the deprecated > SGI hash_set container when it should use the TR1 unordered_set > container. A bug report has been filed: > https://bugs.launchpad.net/ubuntu/+source/boost/+bug/270873 > >> In file included from >> /home/yuv/src/hugin/src/foreign/levmar/misc.c:42: >> /home/yuv/src/hugin/src/foreign/levmar/misc_core.c:566:2: >> warning: #warning LAPACK not available, LU will be used for >> matrix inversion when computing the covariance; this might be >> unstable at times > > Install the LAPACK development package (liblapack-dev in > Debian/Ubuntu) and edit the includes and Makefile to define > HAVE_LAPACK and the library paths. Or ignore if you don't want > to add another external library dependency. > >> /home/yuv/src/hugin/src/hugin_base/panotools/PanoToolsInterfac >> e.cpp: In function ‘void >> HuginBase::PTools::setDestImage(Image&, vigra::Diff2D, >> unsigned char*, const >> HuginBase::PanoramaOptions::ProjectionFormat&, const >> std::vector<double, std::allocator<double> >&, double)’: >> /home/yuv/src/hugin/src/hugin_base/panotools/PanoToolsInterfac >> e.cpp:548: warning: deprecated conversion from string constant >> to ‘char*’ > > Probably PrintError() should take a const char* parameter instead > of a char *. I can't find it from the Doxygen documentation, > where is it declared/defined? > > >> /home/yuv/src/hugin/src/celeste/svm.cpp: In >> function ‘svm_model* svm_load_model(const char*)’: >> /home/yuv/src/hugin/src/celeste/svm.cpp:2759: warning: >> ignoring return value of ‘int fscanf(FILE*, const char*, >> ...)’, declared with attribute warn_unused_result > (repeated similar warnings omitted) > > Missing error checks. Should be fixed to improve robustness of > the code. > >> /home/yuv/src/hugin/src/hugin1/hugin/GLPreviewFrame.cpp:50:1: >> warning: "DEBUG_HEADER" redefined >> In file included from >> /home/yuv/src/hugin/src/hugin1/common/utils.h:27, from >> /home/yuv/src/hugin/src/hugin1/panoinc.h:70, from >> /home/yuv/src/hugin/src/hugin1/hugin/GLPreviewFrame.cpp:39: >> /home/yuv/src/hugin/src/hugin_base/hugin_utils/utils.h:62:1: >> warning: this is the location of the previous definition > > Add "#undef DEBUG_HEADER" before the redefinition. > >> /home/yuv/src/hugin/src/hugin1/ptbatcher/PTBatcherGUI.cpp: In >> member function ‘virtual wxChar* >> BatchIPCConnection::OnRequest(const wxString&, const >> wxString&, int*, wxIPCFormat)’: >> /home/yuv/src/hugin/src/hugin1/ptbatcher/PTBatcherGUI.cpp:407: >> warning: deprecated conversion from string constant to >> ‘wxChar*’ > > Another case of passing a literal string (const char *) when a > non-const char pointer is expected. >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to hugin-ptx@googlegroups.com To unsubscribe from this group, send email to hugin-ptx-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/hugin-ptx -~----------~----~----~----~------~----~------~--~---