Boost Users :
From: Daniel Hinz (dan.hinz_at_[hidden])
Date: 2008-06-20 15:22:01
Thank you. I don't understand all of that explanation but enough that my test
programs are successfully running.
On a related note, there is a rather inconvenient piece of misinformation in
the rationale. It refers often to BOOST_SERIALIZATION_TRACKING. However, it
appears that what it should say is BOOST_CLASS_TRACKING. It actually does say
that elsewhere. I've not been around long and have not used the ticket system
but there appears to be no category for documentation issues. For other
readers it would be nice to get this corrected, that is if I know what I'm
On Friday 20 June 2008 03:09:26 am Robert Ramey wrote:
> check the rationale section regarding the saving of non-const data sets.
> Robert Ramey
> Daniel Hinz wrote:
> > Just started experimenting with the serialization library. I started
> > by writing a small example very much like that shown in the tutorial.
> > I created a simple class to serialize containing two unsigned int
> > vars and an std::string This is close to what I would need to do once
> > I move beyond familiarizing myself with the use of the library.
> > When I compile I get errors in the boost code:
> > s-test.h:49: instantiated from here
> > /usr/include/boost/archive/detail/oserializer.hpp:567: error: invalid
> > application of 'sizeof' to incomplete
> > type 'boost::STATIC_ASSERTION_FAILURE<false>'
> > make: *** [stest] Error 1
> > When I look at boost static assert I find this:
> > #define BOOST_STATIC_ASSERT( B ) \
> > typedef ::boost::static_assert_test<\
> > sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( B ) >)>\
> > BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
> > #endif
> > Which I believe is macro expansion sizeof that is being complained
> > about.
> > I'm using boost 1_35_0 (release tarball), gcc 4.1.2, Fedora 7.
> > Looking for hints as to where to go from here.
> > Thanks,
> > -dwh-
> Boost-users mailing list
-- I not only live each endless day in grief, but live each day thinking about living each day in grief. -- C. S. Lewis ------------------------------------------------------------ Daniel W. Hinz Xerox Corp;XOG/SEEDU MS: 801-17A e-mail: dan.hinz_at_[hidden] 1350 Jefferson Road TEL: 585.422.8078 Rochester, NY 14623
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