sakulstra / sf-import

0 stars 0 forks source link

"Make" gives messages on Despeckle.cpp & Boost for v0.9.9.1 [sf#250] #98

Closed sakulstra closed 10 years ago

sakulstra commented 10 years ago

Submitted by sfmember1138 on 2010-09-26 15:49:04

My system: Mem: 4GB CPU: Intel Quad Core 2 Extreme X9650 OS: Ubuntu v10.04, kernel v2.6.32-24-generic

Note: The information provided by make and in this artifact did not stop scantailor from compiling. I am providing this information simply for the benefit of the project.

Description of warnings: Step 1 Action: cmake . Step 1 Result: Everything performed as expected.

Step 2 Action: make Step 2 Result: Received 2 messages during make. The first message occurs at 75% through the make process. The second message occurs at 86% through the make process. These messages are listed in chronological as follows: ---- Message #1 Begins ---- In file included from /usr/include/boost/multi_index/sequenced_index.hpp:32, from /home/sysop/Programs/scantailor-0.9.9.1/ThumbnailSequence.cpp:33: In function ‘void boost::multi_index::detail::sequenced_index_sort(Node, Compare) [with Node = boost::multi_index::detail::sequenced_index_node<boost::multi_index::detail::sequenced_index_node<boost::multi_index::detail::index_node_base<ThumbnailSequence::Item, std::allocator<ThumbnailSequence::Item> > > >, Compare = boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::action<6, boost::lambda::function_action<6, boost::lambda::detail::unspecified> >, boost::tuples::tuple<bool (PageOrderProvider:: const)(const PageId&, bool, const PageId&, bool)const, const PageOrderProvider const, const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::action<2, boost::lambda::function_action<2, boost::lambda::detail::unspecified> >, boost::tuples::tuple<const PageId& (ThumbnailSequence::Item:: const)()const, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >, const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::action<2, boost::lambda::function_action<2, boost::lambda::detail::unspecified> >, boost::tuples::tuple<bool ThumbnailSequence::Item:: const, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >, const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::action<2, boost::lambda::function_action<2, boost::lambda::detail::unspecified> >, boost::tuples::tuple<const PageId& (ThumbnailSequence::Item:: const)()const, const boost::lambda::lambda_functor<boost::lambda::placeholder<2> >, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >, const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::action<2, boost::lambda::function_action<2, boost::lambda::detail::unspecified> >, boost::tuples::tuple<bool ThumbnailSequence::Item::* const, const boost::lambda::lambda_functor<boost::lambda::placeholder<2> >, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >]’: cc1plus: warning: dereferencing pointer ‘pretmp.4127’ does break strict-aliasing rules cc1plus: note: initialized from here cc1plus: warning: dereferencing pointer ‘pretmp.4127’ does break strict-aliasing rules cc1plus: note: initialized from here ---- Message #1 Ends ----

---- Message #2 Begins ---- /scantailor-0.9.9.1/Despeckle.cpp: In static member function ‘static void Despeckle::despeckleInPlace(imageproc::BinaryImage&, const Dpi&, Despeckle::Level, const TaskStatus&, DebugImages*)’: /scantailor-0.9.9.1/Despeckle.cpp:99: warning: ‘settings$bigObjectThreshold’ may be used uninitialized in this function /scantailor-0.9.9.1/Despeckle.cpp:99: note: ‘settings$bigObjectThreshold’ was declared here /scantailor-0.9.9.1/Despeckle.cpp:99: warning: ‘settings$pixelsToSqDist’ may be used uninitialized in this function /scantailor-0.9.9.1/Despeckle.cpp:99: note: ‘settings$pixelsToSqDist’ was declared here /scantailor-0.9.9.1/Despeckle.cpp:99: warning: ‘settings$minRelativeParentWeight’ may be used uninitialized in this function /scantailor-0.9.9.1/Despeckle.cpp:99: note: ‘settings$minRelativeParentWeight’ was declared here ---- Message #2 Ends ----

Step 3 Action: sudo make install Step 3 Result: Everything performed as expected.

This completes this artifact report.

sakulstra commented 10 years ago

These are harmless warnings - you can ignore them. In addition, the first one comes from boost, making it impossible to get rid of. The second one may be fixed in Git, but even if not, it's still harmless.

sakulstra commented 10 years ago