Hello Robert,
Thanks for the response.
The warning is also seen with the latest 1.43 version of the Boost library also. I tried compiling with the g++ 3.4.6 and noticed the same warning. Is there a particular complier option required to disable this warning (or perhaps resolve)?
 
Thanks
Sulakshan


From: boost-users-bounces@lists.boost.org on behalf of Robert Ramey
Sent: Fri 5/7/2010 1:46 AM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] Boost Serialization warning

Sulakshan Vajipayajula wrote:
> Hello,
> I am encountering the following  warning when using virtual base
> class pointer to serialize a derived class. The same warning is
> displayed for all sample test programs that come with the
> serialization library. The compiler used is g++ version 3.4.3.  
>
>
> /vob/adc/router/thirdparty/boost/boost/type_traits/is_virtual_base_of.hpp:56:
> warning: direct base `TestBase' inaccessible in
> `boost::detail::is_virtual_base_of_impl<TestBase, TestType1,
> mpl_::bool_< true> >::X' due to ambiguity  
>
> Can you recommend any workarounds…or if this has been addressed.
>
> Thanks
> Sulakshan V
 
One work around would be to upgrade you compiler to a more recent version.
The oldest version we have in out test matrix is gcc 3.4.6 and it's not
emitting any warnings.  Also you might want to mention which version
of boost you're using.
 
Robert Ramey