Subject: [Boost-bugs] [Boost C++ Libraries] #2612: [date_time] warning for use of uninitialized variable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-12-24 11:12:35
#2612: [date_time] warning for use of uninitialized variable
--------------------------------------------------------------+-------------
Reporter: manfred doudar <manfred.doudar_at_[hidden]> | Owner: az_sw_dude
Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: date_time
Version: Boost 1.37.0 | Severity: Problem
Keywords: |
--------------------------------------------------------------+-------------
/import/apu/projects/1/VISTA/vibe/usr/BOOST/include/boost-1_37/boost/date_time/constrained_value.hpp:
In static member function 'static ymd_type_
boost::date_time::gregorian_calendar_base<ymd_type_,
date_int_type_>::from_day_number(date_int_type_) [with ymd_type_ =
boost::date_time::year_month_day_base<boost::gregorian::greg_year,
boost::gregorian::greg_month, boost::gregorian::greg_day>, date_int_type_
= long unsigned int]':
/import/apu/projects/1/VISTA/vibe/usr/BOOST/include/boost-1_37/boost/date_time/constrained_value.hpp:64:
warning:
'year.boost::gregorian::greg_year::<anonymous>.boost::CV::constrained_value<boost::CV::simple_exception_policy<short
unsigned int, 1400u, 10000u, boost::gregorian::bad_year> >::value_' is
used uninitialized in this function
/import/apu/projects/1/VISTA/vibe/usr/BOOST/include/boost-1_37/boost/date_time/gregorian_calendar.ipp:122:
note:
'year.boost::gregorian::greg_year::<anonymous>.boost::CV::constrained_value<boost::CV::simple_exception_policy<short
unsigned int, 1400u, 10000u, boost::gregorian::bad_year> >::value_' was
declared here
PLATFORM: ubuntu linux
COMPILER: gcc-4.3.0
DATE_TIME flags: -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
COMPILER flags: -Wall -Werror -03 -g -ansi -pedantic
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2612> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC