Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialization] Strange giant warning
From: David (evildavo_at_[hidden])
Date: 2010-03-08 10:06:47


Nothing stands out to me. Polymorphic.... hmm... I don't do anything of the sort in my example.
Doesn't really explain why the warning is there does it.

So that readers can follow along... here's extended_type_info_typeid.hpp line 88:

// get the eti record for the true type of this record
// relying upon standard type info implemenation (rtti)
const extended_type_info *
get_derived_extended_type_info(const T & t) const {
    // note: this implementation - based on usage of typeid (rtti)
    // only does something if the class has at least one virtual function.
    BOOST_STATIC_WARNING(boost::is_polymorphic<T>::value);
    return
        detail::extended_type_info_typeid_0::get_extended_type_info(
            typeid(t)
        );
  ----- Original Message -----
  From: Roman Perepelitsa
  To: boost-users_at_[hidden]
  Sent: Tuesday, March 09, 2010 12:41 AM
  Subject: Re: [Boost-users] [Serialization] Strange giant warning

  2010/3/8 David <evildavo_at_[hidden]>

    1>d:\dev\boostpro\boost\boost_1_40\boost\serialization\extended_type_info_typeid.hpp(88) : warning C4099: 'boost::serialization::static_warning_impl<false>::STATIC_WARNING' : type name first seen using 'struct' now seen using 'class'

  Take a look at extended_type_info_typeid.hpp line 88.

  Roman Perepelitsa.

------------------------------------------------------------------------------

  _______________________________________________
  Boost-users mailing list
  Boost-users_at_[hidden]
  http://lists.boost.org/mailman/listinfo.cgi/boost-users



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net