You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[reported by maciek][Trac time Wed Nov 30 17:50:30 2011] g++ 4.5.3 generates excessive amounts of warnings due to qualifiers being cast away in one of the sources. Example below:
In file included from /home/maciek/Projects/parallex/trunk/hpx/external/atomic/boost/atomic/detail/base.hpp:10:0,
from /home/maciek/Projects/parallex/trunk/hpx/external/atomic/boost/atomic/detail/gcc-x86.hpp:11,
from /home/maciek/Projects/parallex/trunk/hpx/external/atomic/boost/atomic/platform.hpp:11,
from /home/maciek/Projects/parallex/trunk/hpx/external/atomic/boost/atomic.hpp:15,
from /home/maciek/Projects/parallex/trunk/hpx/external/coroutine/boost/coroutine/detail/context_linux_x86.hpp:19,
from /home/maciek/Projects/parallex/trunk/hpx/external/coroutine/boost/coroutine/detail/default_context_impl.hpp:107,
from /home/maciek/Projects/parallex/trunk/hpx/external/coroutine/boost/coroutine/coroutine.hpp:33,
from /home/maciek/Projects/parallex/trunk/hpx/hpx/hpx_fwd.hpp:28,
from /home/maciek/Projects/parallex/trunk/hpx/src/exception.cpp:7:
/home/maciek/Projects/parallex/trunk/hpx/external/atomic/boost/atomic/detail/fallback.hpp: In member function ‘T boost::detail::atomic::fallback_atomic<T>::load(boost::memory_order) const volatile [with T = boost::lockfree::tagged_ptr_pair<boost::lockfree::deque_node<hpx::threads::thread*>, boost::lockfree::deque_node<hpx::threads::thread*> >]’:
/home/maciek/Projects/parallex/trunk/hpx/external/lockfree/boost/lockfree/deque.hpp:95:25: instantiated from ‘boost::lockfree::deque_anchor<T>::pair boost::lockfree::deque_anchor<T>::lrs() const volatile [with T = hpx::threads::thread*, boost::lockfree::deque_anchor<T>::pair = boost::lockfree::tagged_ptr_pair<boost::lockfree::deque_node<hpx::threads::thread*>, boost::lockfree::deque_node<hpx::threads::thread*> >]’
/home/maciek/Projects/parallex/trunk/hpx/external/lockfree/boost/lockfree/deque.hpp:276:46: instantiated from ‘bool boost::lockfree::deque<T, freelist_t, Alloc>::empty() const [with T = hpx::threads::thread*, freelist_t = boost::lockfree::caching_freelist_t, Alloc = std::allocator<hpx::threads::thread*>]’
/home/maciek/Projects/parallex/trunk/hpx/hpx/runtime/threads/policies/thread_deque.hpp:206:40: instantiated from here
/home/maciek/Projects/parallex/trunk/hpx/external/atomic/boost/atomic/detail/fallback.hpp:32:9: warning: cast from type ‘const volatile boost::lockfree::tagged_ptr_pair<boost::lockfree::deque_node<hpx::threads::thread*>, boost::lockfree::deque_node<hpx::threads::thread*> >*’ to type ‘boost::lockfree::tagged_ptr_pair<boost::lockfree::deque_node<hpx::threads::thread*>, boost::lockfree::deque_node<hpx::threads::thread*> >*’ casts away qualifiers [-Wcast-qual]
/home/maciek/Projects/parallex/trunk/hpx/external/atomic/boost/atomic/detail/fallback.hpp: In member function ‘T boost::detail::atomic::fallback_atomic<T>::load(boost::memory_order) const volatile [with T = boost::lockfree::tagged_ptr_pair<boost::lockfree::deque_node<const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*>, boost::lockfree::deque_node<const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*> >]’:
/home/maciek/Projects/parallex/trunk/hpx/external/lockfree/boost/lockfree/deque.hpp:95:25: instantiated from ‘boost::lockfree::deque_anchor<T>::pair boost::lockfree::deque_anchor<T>::lrs() const volatile [with T = const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*, boost::lockfree::deque_anchor<T>::pair = boost::lockfree::tagged_ptr_pair<boost::lockfree::deque_node<const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*>, boost::lockfree::deque_node<const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*> >]’
/home/maciek/Projects/parallex/trunk/hpx/external/lockfree/boost/lockfree/deque.hpp:405:43: instantiated from ‘bool boost::lockfree::deque<T, freelist_t, Alloc>::pop_left(T&) [with T = const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*, freelist_t = boost::lockfree::caching_freelist_t, Alloc = std::allocator<const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*>]’
/home/maciek/Projects/parallex/trunk/hpx/hpx/runtime/threads/policies/thread_deque.hpp:39:32: instantiated from ‘bool hpx::threads::policies::dequeue(Queue&, Value&) [with Queue = boost::lockfree::deque<const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*>, Value = const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*]’
/home/maciek/Projects/parallex/trunk/hpx/hpx/runtime/threads/policies/thread_deque.hpp:86:55: instantiated from here
/home/maciek/Projects/parallex/trunk/hpx/external/atomic/boost/atomic/detail/fallback.hpp:32:9: warning: cast from type ‘const volatile boost::lockfree::tagged_ptr_pair<boost::lockfree::deque_node<const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*>, boost::lockfree::deque_node<const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*> >*’ to type ‘boost::lockfree::tagged_ptr_pair<boost::lockfree::deque_node<const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*>, boost::lockfree::deque_node<const boost::tuples::tuple<hpx::threads::thread_init_data, hpx::threads::thread_state_enum>*> >*’ casts away qualifiers [-Wcast-qual]
The text was updated successfully, but these errors were encountered:
[reported by maciek] [Trac time Wed Nov 30 17:50:30 2011] g++ 4.5.3 generates excessive amounts of warnings due to qualifiers being cast away in one of the sources. Example below:
The text was updated successfully, but these errors were encountered: