* [Bug c++/36694] g++-4.2 rejects code, that other versions of gcc accept
2008-07-02 10:58 [Bug c++/36694] New: " tim at klingt dot org
2008-07-02 10:59 ` [Bug c++/36694] " tim at klingt dot org
2008-07-02 16:13 ` rwild at gcc dot gnu dot org
@ 2008-07-02 16:17 ` tim at klingt dot org
2 siblings, 0 replies; 5+ messages in thread
From: tim at klingt dot org @ 2008-07-02 16:17 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 8170 bytes --]
------- 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
^ permalink raw reply [flat|nested] 5+ messages in thread