|
Boost Users : |
From: Lothar Werzinger (lothar_at_[hidden])
Date: 2008-08-01 01:28:21
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<T,
time_system>::zone_abbrev(bool) const [with T = boost::posix_time::ptime,
time_system =
boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::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<time_type, CharT,
OutItrT>::put(OutItrT, std::ios_base&, typename
boost::date_time::date_facet<typename time_type::date_type, CharT,
OutItrT>::char_type, const time_type&) const [with time_type =
boost::posix_time::ptime, CharT = char, OutItrT =
std::ostreambuf_iterator<char, std::char_traits<char> >]'
[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<T,
time_system>::zone_name(bool) const [with T = boost::posix_time::ptime,
time_system =
boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::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<time_type, CharT,
OutItrT>::put(OutItrT, std::ios_base&, typename
boost::date_time::date_facet<typename time_type::date_type, CharT,
OutItrT>::char_type, const time_type&) const [with time_type =
boost::posix_time::ptime, CharT = char, OutItrT =
std::ostreambuf_iterator<char, std::char_traits<char> >]'
[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
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