The following compiler warnings in the date_time library can be removed with
the attached patch
[exec] /opt2/linux/x86_64/include/boost-1_36/boost/date_time/time.hpp: In
instantiation of 'std::string boost::date_time::base_time::zone_abbrev(bool) const [with T = boost::posix_time::ptime,
time_system =
boost::date_time::counted_time_systemboost::posix_time::millisec_posix_time_system_config
]':
[exec] /opt2/linux/x86_64/include/boost-1_36/boost/date_time/time_facet.hpp:263:
instantiated from 'OutItrT boost::date_time::time_facet::put(OutItrT, std::ios_base&, typename
boost::date_time::date_facet::char_type, const time_type&) const [with time_type =
boost::posix_time::ptime, CharT = char, OutItrT =
std::ostreambuf_iterator]'
[exec] /opt2/linux/x86_64/include/boost-1_36/boost/date_time/posix_time/posix_time_io.hpp:51:
instantiated from 'std::basic_ostream<_CharT, _Traits>&
boost::posix_time::operator<<(std::basic_ostream<_CharT, _Traits>&, const
boost::posix_time::ptime&) [with CharT = char, TraitsT =
std::char_traits<char>]'
[exec] src/apihelper/DateTime.cpp:630: instantiated from here
[exec] /opt2/linux/x86_64/include/boost-1_36/boost/date_time/time.hpp:87:
warning: unused parameter 'as_offset'
[exec] /opt2/linux/x86_64/include/boost-1_36/boost/date_time/time.hpp: In
instantiation of 'std::string boost::date_time::base_time::zone_name(bool) const [with T = boost::posix_time::ptime,
time_system =
boost::date_time::counted_time_systemboost::posix_time::millisec_posix_time_system_config
]':
[exec] /opt2/linux/x86_64/include/boost-1_36/boost/date_time/time_facet.hpp:277:
instantiated from 'OutItrT boost::date_time::time_facet::put(OutItrT, std::ios_base&, typename
boost::date_time::date_facet::char_type, const time_type&) const [with time_type =
boost::posix_time::ptime, CharT = char, OutItrT =
std::ostreambuf_iterator]'
[exec] /opt2/linux/x86_64/include/boost-1_36/boost/date_time/posix_time/posix_time_io.hpp:51:
instantiated from 'std::basic_ostream<_CharT, _Traits>&
boost::posix_time::operator<<(std::basic_ostream<_CharT, _Traits>&, const
boost::posix_time::ptime&) [with CharT = char, TraitsT =
std::char_traits<char>]'
[exec] src/apihelper/DateTime.cpp:630: instantiated from here
[exec] /opt2/linux/x86_64/include/boost-1_36/boost/date_time/time.hpp:80:
warning: unused parameter 'as_offset'
Lothar
--
Lothar Werzinger Dipl.-Ing. Univ.
framework & platform architect
Tradescape Inc. - Enabling Efficient Digital Marketplaces
1754 Technology Drive, Suite 128
San Jose, CA 95110
web: http://www.tradescape.biz