Re: [Boost-bugs] [Boost C++ Libraries] #2508: Serialization emits lots of warnings for MSVC7.1 (non-polymorphic / shared_ptr)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2508: Serialization emits lots of warnings for MSVC7.1 (non-polymorphic / shared_ptr)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-05 21:55:00


#2508: Serialization emits lots of warnings for MSVC7.1 (non-polymorphic /
shared_ptr)
----------------------------------------------------------+-----------------
 Reporter: Chard | Owner: ramey
     Type: Bugs | Status: assigned
Milestone: Boost 1.38.0 | Component: serialization
  Version: Boost 1.36.0 | Severity: Problem
 Keywords: non-polymorphic shared_ptr warnings MSVC 7.1 |
----------------------------------------------------------+-----------------

Comment(by Chard):

 Replying to [comment:4 ramey]:
> what does test_static_warning show with your gcc system?
> same for you vc 7.1 system.

 A colleague ran this test through his g++ 4.3.3 system, and it only
 reported eight warnings - not the required ten.

 I believe it was the "f<A>()" variants that did not warn - which seem to
 align with the check (above) in the serialization code.

 However, this is ultimately a side-issue (even though it may have
 disguised behaviour) and the main issue is that it looks like the
 serialization code for shared_ptr needs to check for polymorphism, and
 route accordingly. I see there are other places in the serialization code
 that do this with a bit of mpl::eval_if.

 Regards...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2508#comment:5>
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:00 UTC