Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6319: message_queue fails to compile with gcc 3.4.6 - ambiguous class template instantiation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-17 18:14:05
#6319: message_queue fails to compile with gcc 3.4.6 - ambiguous class template
instantiation
-------------------------------------+--------------------------------------
Reporter: slingn@⦠| Owner: igaztanaga
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.48.0 | Severity: Regression
Resolution: fixed | Keywords:
-------------------------------------+--------------------------------------
Comment (by anonymous):
in gcc version 4.1.2 same problem....
g++ -O2 -g -Wall -c -I/dgtc/sv/gerback/boost/include -I/usr/local/include
-I/dgtc/sv/gerback/gerback2/working/headersBd -I/usr/include
-I/axs/include -Dlinux -DLINUX -DIC86 Gerback2.cpp
/dgtc/sv/gerback/boost/include/boost/interprocess/ipc/message_queue.hpp:
In instantiation of
âboost::interprocess::message_queue_t<boost::interprocess::offset_ptr<void,
int, unsigned int, 0u> >â:
Gerback2.cpp:1088: instantiated from here
/dgtc/sv/gerback/boost/include/boost/interprocess/ipc/message_queue.hpp:57:
error: ambiguous class template instantiation for âstruct
boost::pointer_to_other<boost::interprocess::offset_ptr<void, int,
unsigned int, 0u>, char>â
/dgtc/sv/gerback/boost/include/boost/pointer_to_other.hpp:29: error:
candidates are: struct boost::pointer_to_other<Sp<T>, U>
/dgtc/sv/gerback/boost/include/boost/pointer_to_other.hpp:36: error:
struct boost::pointer_to_other<Sp<T, T2>, U>
/dgtc/sv/gerback/boost/include/boost/pointer_to_other.hpp:43: error:
struct boost::pointer_to_other<Sp<T, T2, T3>, U>
/dgtc/sv/gerback/boost/include/boost/interprocess/offset_ptr.hpp:490:
error: struct
boost::pointer_to_other<boost::interprocess::offset_ptr<T1, P1, O1, A1>,
U>
/dgtc/sv/gerback/boost/include/boost/interprocess/ipc/message_queue.hpp:57:
error: invalid use of undefined type âstruct
boost::pointer_to_other<boost::interprocess::offset_ptr<void, int,
unsigned int, 0u>, char>â
/dgtc/sv/gerback/boost/include/boost/pointer_to_other.hpp:24: error:
declaration of âstruct
boost::pointer_to_other<boost::interprocess::offset_ptr<void, int,
unsigned int, 0u>, char>â
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6319#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC