From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7366 invoked by alias); 2 Jul 2008 16:17:30 -0000 Received: (qmail 6182 invoked by uid 48); 2 Jul 2008 16:15:50 -0000 Date: Wed, 02 Jul 2008 16:17:00 -0000 Message-ID: <20080702161550.6181.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/36694] g++-4.2 rejects code, that other versions of gcc accept In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tim at klingt dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-07/txt/msg00114.txt.bz2 ------- 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::dummy_runnable>*>’: libs/boost/boost/concept_check.hpp:154: instantiated from ‘boost::CopyConstructibleConcept::dummy_runnable>*>’ libs/boost/boost/concept/detail/has_constraints.hpp:40: instantiated from ‘const bool boost::concept::not_satisfied::dummy_runnable>*> >::value’ libs/boost/boost/concept/detail/has_constraints.hpp:43: instantiated from ‘boost::concept::not_satisfied::dummy_runnable>*> >’ libs/boost/boost/mpl/if.hpp:67: instantiated from ‘boost::mpl::if_::dummy_runnable>*> >, boost::concept::constraint::dummy_runnable>*> >, boost::concept::requirement::dummy_runnable>*> > >’ libs/boost/boost/concept/detail/general.hpp:19: instantiated from ‘boost::concept::requirement_::dummy_runnable>*>)>’ libs/lockfree/fifo.hpp:60: instantiated from ‘lockfree::detail::fifo::dummy_runnable>*, false, 1024u, std::allocator::dummy_runnable>*> >’ libs/lockfree/fifo.hpp:272: instantiated from ‘lockfree::fifo::dummy_runnable>*, false, 1024u, std::allocator::dummy_runnable>*> >’ testsuite/../source/server/dsp_thread_queue.hpp:315: instantiated from ‘nova::dsp_queue_interpreter<::dummy_runnable>’ testsuite/../source/server/dsp_thread.hpp:87: instantiated from ‘nova::dsp_threads<::dummy_runnable>’ testsuite/server_dsp_thread_test.cpp:32: instantiated from here libs/boost/boost/concept_check.hpp:156: error: ‘boost::concept::requirement::failed [with Model = boost::concept::usage_requirements::dummy_runnable>*> >]’ is not a valid template argument for type ‘void (*)()’ because function ‘static void boost::concept::requirement::failed() [with Model = boost::concept::usage_requirements::dummy_runnable>*> >]’ has not external linkage libs/lockfree/fifo.hpp: In instantiation of ‘lockfree::detail::fifo::dummy_runnable>*, false, 1024u, std::allocator::dummy_runnable>*> >’: libs/lockfree/fifo.hpp:272: instantiated from ‘lockfree::fifo::dummy_runnable>*, false, 1024u, std::allocator::dummy_runnable>*> >’ testsuite/../source/server/dsp_thread_queue.hpp:315: instantiated from ‘nova::dsp_queue_interpreter<::dummy_runnable>’ testsuite/../source/server/dsp_thread.hpp:87: instantiated from ‘nova::dsp_threads<::dummy_runnable>’ testsuite/server_dsp_thread_test.cpp:32: instantiated from here libs/lockfree/fifo.hpp:60: error: ‘boost::concept::requirement::failed [with Model = boost::CopyConstructibleConcept::dummy_runnable>*>]’ is not a valid template argument for type ‘void (*)()’ because function ‘static void boost::concept::requirement::failed() [with Model = boost::CopyConstructibleConcept::dummy_runnable>*>]’ has not external linkage libs/boost/boost/concept_check.hpp: In instantiation of ‘boost::DefaultConstructible::dummy_runnable>*>’: libs/boost/boost/concept_check.hpp:127: instantiated from ‘boost::DefaultConstructibleConcept::dummy_runnable>*>’ libs/boost/boost/concept/detail/has_constraints.hpp:40: instantiated from ‘const bool boost::concept::not_satisfied::dummy_runnable>*> >::value’ libs/boost/boost/concept/detail/has_constraints.hpp:43: instantiated from ‘boost::concept::not_satisfied::dummy_runnable>*> >’ libs/boost/boost/mpl/if.hpp:67: instantiated from ‘boost::mpl::if_::dummy_runnable>*> >, boost::concept::constraint::dummy_runnable>*> >, boost::concept::requirement::dummy_runnable>*> > >’ libs/boost/boost/concept/detail/general.hpp:19: instantiated from ‘boost::concept::requirement_::dummy_runnable>*>)>’ libs/lockfree/fifo.hpp:61: instantiated from ‘lockfree::detail::fifo::dummy_runnable>*, false, 1024u, std::allocator::dummy_runnable>*> >’ libs/lockfree/fifo.hpp:272: instantiated from ‘lockfree::fifo::dummy_runnable>*, false, 1024u, std::allocator::dummy_runnable>*> >’ testsuite/../source/server/dsp_thread_queue.hpp:315: instantiated from ‘nova::dsp_queue_interpreter<::dummy_runnable>’ testsuite/../source/server/dsp_thread.hpp:87: instantiated from ‘nova::dsp_threads<::dummy_runnable>’ testsuite/server_dsp_thread_test.cpp:32: instantiated from here libs/boost/boost/concept_check.hpp:129: error: ‘boost::concept::requirement::failed [with Model = boost::concept::usage_requirements::dummy_runnable>*> >]’ is not a valid template argument for type ‘void (*)()’ because function ‘static void boost::concept::requirement::failed() [with Model = boost::concept::usage_requirements::dummy_runnable>*> >]’ has not external linkage libs/lockfree/fifo.hpp: In instantiation of ‘lockfree::detail::fifo::dummy_runnable>*, false, 1024u, std::allocator::dummy_runnable>*> >’: libs/lockfree/fifo.hpp:272: instantiated from ‘lockfree::fifo::dummy_runnable>*, false, 1024u, std::allocator::dummy_runnable>*> >’ testsuite/../source/server/dsp_thread_queue.hpp:315: instantiated from ‘nova::dsp_queue_interpreter<::dummy_runnable>’ testsuite/../source/server/dsp_thread.hpp:87: instantiated from ‘nova::dsp_threads<::dummy_runnable>’ testsuite/server_dsp_thread_test.cpp:32: instantiated from here libs/lockfree/fifo.hpp:61: error: ‘boost::concept::requirement::failed [with Model = boost::DefaultConstructibleConcept::dummy_runnable>*>]’ is not a valid template argument for type ‘void (*)()’ because function ‘static void boost::concept::requirement::failed() [with Model = boost::DefaultConstructibleConcept::dummy_runnable>*>]’ has not external linkage -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36694