[Bug c++/36694] g++-4.2 rejects code, that other versions of gcc accept
tim at klingt dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 2 16:17:00 GMT 2008
------- Comment #3 from tim at klingt dot org 2008-07-02 16:15 -------
compiled via:
g++-4.2 server_dsp_thread_test.ii
error message:
libs/boost/boost/concept_check.hpp: In instantiation of
âÂÂboost::CopyConstructible<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>âÂÂ:
libs/boost/boost/concept_check.hpp:154: instantiated from
âÂÂboost::CopyConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>âÂÂ
libs/boost/boost/concept/detail/has_constraints.hpp:40: instantiated from
âÂÂconst bool
boost::concept::not_satisfied<boost::CopyConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
>::valueâÂÂ
libs/boost/boost/concept/detail/has_constraints.hpp:43: instantiated from
âÂÂboost::concept::not_satisfied<boost::CopyConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
>âÂÂ
libs/boost/boost/mpl/if.hpp:67: instantiated from
âÂÂboost::mpl::if_<boost::concept::not_satisfied<boost::CopyConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
>,
boost::concept::constraint<boost::CopyConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
>,
boost::concept::requirement<boost::CopyConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
> >âÂÂ
libs/boost/boost/concept/detail/general.hpp:19: instantiated from
âÂÂboost::concept::requirement_<void
(*)(boost::CopyConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>)>âÂÂ
libs/lockfree/fifo.hpp:60: instantiated from
âÂÂlockfree::detail::fifo<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*,
false, 1024u,
std::allocator<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*> >âÂÂ
libs/lockfree/fifo.hpp:272: instantiated from
âÂÂlockfree::fifo<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*,
false, 1024u,
std::allocator<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*> >âÂÂ
testsuite/../source/server/dsp_thread_queue.hpp:315: instantiated from
âÂÂnova::dsp_queue_interpreter<<unnamed>::dummy_runnable>âÂÂ
testsuite/../source/server/dsp_thread.hpp:87: instantiated from
âÂÂnova::dsp_threads<<unnamed>::dummy_runnable>âÂÂ
testsuite/server_dsp_thread_test.cpp:32: instantiated from here
libs/boost/boost/concept_check.hpp:156: error:
âÂÂboost::concept::requirement<Model>::failed [with Model =
boost::concept::usage_requirements<boost::CopyConstructible<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
>]â is not a valid template argument for type âÂÂvoid (*)()â because
function âÂÂstatic void boost::concept::requirement<Model>::failed() [with
Model =
boost::concept::usage_requirements<boost::CopyConstructible<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
>]â has not external linkage
libs/lockfree/fifo.hpp: In instantiation of
âÂÂlockfree::detail::fifo<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*,
false, 1024u,
std::allocator<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*> >âÂÂ:
libs/lockfree/fifo.hpp:272: instantiated from
âÂÂlockfree::fifo<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*,
false, 1024u,
std::allocator<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*> >âÂÂ
testsuite/../source/server/dsp_thread_queue.hpp:315: instantiated from
âÂÂnova::dsp_queue_interpreter<<unnamed>::dummy_runnable>âÂÂ
testsuite/../source/server/dsp_thread.hpp:87: instantiated from
âÂÂnova::dsp_threads<<unnamed>::dummy_runnable>âÂÂ
testsuite/server_dsp_thread_test.cpp:32: instantiated from here
libs/lockfree/fifo.hpp:60: error: âÂÂboost::concept::requirement<Model>::failed
[with Model =
boost::CopyConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>]âÂÂ
is not a valid template argument for type âÂÂvoid (*)()â because function
âÂÂstatic void boost::concept::requirement<Model>::failed() [with Model =
boost::CopyConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>]âÂÂ
has not external linkage
libs/boost/boost/concept_check.hpp: In instantiation of
âÂÂboost::DefaultConstructible<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>âÂÂ:
libs/boost/boost/concept_check.hpp:127: instantiated from
âÂÂboost::DefaultConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>âÂÂ
libs/boost/boost/concept/detail/has_constraints.hpp:40: instantiated from
âÂÂconst bool
boost::concept::not_satisfied<boost::DefaultConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
>::valueâÂÂ
libs/boost/boost/concept/detail/has_constraints.hpp:43: instantiated from
âÂÂboost::concept::not_satisfied<boost::DefaultConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
>âÂÂ
libs/boost/boost/mpl/if.hpp:67: instantiated from
âÂÂboost::mpl::if_<boost::concept::not_satisfied<boost::DefaultConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
>,
boost::concept::constraint<boost::DefaultConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
>,
boost::concept::requirement<boost::DefaultConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
> >âÂÂ
libs/boost/boost/concept/detail/general.hpp:19: instantiated from
âÂÂboost::concept::requirement_<void
(*)(boost::DefaultConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>)>âÂÂ
libs/lockfree/fifo.hpp:61: instantiated from
âÂÂlockfree::detail::fifo<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*,
false, 1024u,
std::allocator<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*> >âÂÂ
libs/lockfree/fifo.hpp:272: instantiated from
âÂÂlockfree::fifo<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*,
false, 1024u,
std::allocator<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*> >âÂÂ
testsuite/../source/server/dsp_thread_queue.hpp:315: instantiated from
âÂÂnova::dsp_queue_interpreter<<unnamed>::dummy_runnable>âÂÂ
testsuite/../source/server/dsp_thread.hpp:87: instantiated from
âÂÂnova::dsp_threads<<unnamed>::dummy_runnable>âÂÂ
testsuite/server_dsp_thread_test.cpp:32: instantiated from here
libs/boost/boost/concept_check.hpp:129: error:
âÂÂboost::concept::requirement<Model>::failed [with Model =
boost::concept::usage_requirements<boost::DefaultConstructible<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
>]â is not a valid template argument for type âÂÂvoid (*)()â because
function âÂÂstatic void boost::concept::requirement<Model>::failed() [with
Model =
boost::concept::usage_requirements<boost::DefaultConstructible<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>
>]â has not external linkage
libs/lockfree/fifo.hpp: In instantiation of
âÂÂlockfree::detail::fifo<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*,
false, 1024u,
std::allocator<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*> >âÂÂ:
libs/lockfree/fifo.hpp:272: instantiated from
âÂÂlockfree::fifo<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*,
false, 1024u,
std::allocator<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*> >âÂÂ
testsuite/../source/server/dsp_thread_queue.hpp:315: instantiated from
âÂÂnova::dsp_queue_interpreter<<unnamed>::dummy_runnable>âÂÂ
testsuite/../source/server/dsp_thread.hpp:87: instantiated from
âÂÂnova::dsp_threads<<unnamed>::dummy_runnable>âÂÂ
testsuite/server_dsp_thread_test.cpp:32: instantiated from here
libs/lockfree/fifo.hpp:61: error: âÂÂboost::concept::requirement<Model>::failed
[with Model =
boost::DefaultConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>]âÂÂ
is not a valid template argument for type âÂÂvoid (*)()â because function
âÂÂstatic void boost::concept::requirement<Model>::failed() [with Model =
boost::DefaultConstructibleConcept<nova::dsp_thread_queue_item<<unnamed>::dummy_runnable>*>]âÂÂ
has not external linkage
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36694
More information about the Gcc-bugs
mailing list