Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2003-02-09 09:41:45


> execute-test
> ..\status\bin\testdate_iterator.test\vc7\release\runtime-link-dynamic\testda
> te_iterator.run
> ====== BEGIN OUTPUT ======
> Pass :: base iterator
> 20020101 20020102 20020103 20020203
> Pass :: day iterator -- 2 days
> Pass :: day iterator -- 2 days
> Pass :: day iterator -- 2 days
> FAIL :: day iterator -- 2 days
>...more cut...

In case it is obvious the iterator isn't terminating properly. There
are only supposed to be 3 iterations which means that either the itr++ isn't
working correctly of the date comparison isn't working correctly. There are
other date comparison tests in testdate.cpp so my guess would be that itr++
has gone bad for some reason.

  ..\status\bin\testfacet.test\vc7\release\runtime-link-dynamic\testfacet.exe
> testfacet.obj : error LNK2019: unresolved external symbol "public: char
> const * __thiscall boost::gregorian::greg_month::as_short_string(void)const
> " (?as_short_string_at_greg_month_at_gregorian@boost@@QBEPBDXZ) referenced in
> function "protected: virtual void __thiscall
> boost::date_time::date_names_put<struct
> boost::gregorian::greg_facet_config,char,class
> std::ostreambuf_iterator<char,struct std::char_traits<char> >
> >::do_put_month_short(class std::ostreambuf_iterator<char,struct
> std::char_traits<char> > &,enum boost::gregorian::months_of_year)const "
> (?do_put_month_short@?$date_names_put_at_Ugreg_facet_config_at_gregorian@boost@@DV
> ?$ostreambuf_iterator_at_DU?$char_traits_at_D@std@@@std@@@date_time_at_boost@@MBEXAAV
> ?$ostreambuf_iterator_at_DU?$char_traits_at_D@std@@@std@@W4months_of_year_at_gregoria
> n_at_3@@Z)
> testfacet.obj : error LNK2019: unresolved external symbol "public: char
> const * __thiscall boost::gregorian::greg_month::as_long_string(void)const "
> (?as_long_string_at_greg_month_at_gregorian@boost@@QBEPBDXZ) referenced in
> function "protected: virtual void __thiscall
> boost::date_time::date_names_put<struct
> boost::gregorian::greg_facet_config,char,class
> std::ostreambuf_iterator<char,struct std::char_traits<char> >
> >::do_put_month_long(class std::ostreambuf_iterator<char,struct
> std::char_traits<char> > &,enum boost::gregorian::months_of_year)const "
> (?do_put_month_long@?$date_names_put_at_Ugreg_facet_config_at_gregorian@boost@@DV?
> $ostreambuf_iterator_at_DU?$char_traits_at_D@std@@@std@@@date_time_at_boost@@MBEXAAV?
> $ostreambuf_iterator_at_DU?$char_traits_at_D@std@@@std@@W4months_of_year_at_gregorian
> @3@@Z)
> ..\status\bin\testfacet.test\vc7\release\runtime-link-dynamic\testfacet.exe
> : fatal error LNK1120: 2 unresolved externals

This (and all the rest of the failures) are an indication that the library
hasn't been built correctly or isn't being linked because it is complaining
about symbols built into libboost_date_time.

HTH,

Jeff

 


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk