[Nix-dev] Issue: since Boost 1.40.0 (date_time: missing initializer for member 'tm::tm_*')
Nicolas Pierron
nicolas.b.pierron at gmail.com
Tue Jan 5 17:03:59 CET 2010
Hi list,
sorry to post this bug report here, but I've encounter issues with >=
boost 1.40.0 . The following warning appear constantly (and breaks
when compiled with -Werror):
In file included from
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:16,
from
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/thread/xtime.hpp:15,
from
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/thread/pthread/mutex.hpp:13,
from
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/thread/mutex.hpp:16,
from
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/thread/pthread/thread_data.hpp:12,
from
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/thread/thread.hpp:17,
from log.h:29,
from extension.cpp:43:
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/gregorian/conversion.hpp:
In function 'tm boost::gregorian::to_tm(const
boost::gregorian::date&)':
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/gregorian/conversion.hpp:44:
warning: missing initializer for member 'tm::tm_sec'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/gregorian/conversion.hpp:44:
warning: missing initializer for member 'tm::tm_min'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/gregorian/conversion.hpp:44:
warning: missing initializer for member 'tm::tm_hour'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/gregorian/conversion.hpp:44:
warning: missing initializer for member 'tm::tm_mday'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/gregorian/conversion.hpp:44:
warning: missing initializer for member 'tm::tm_mon'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/gregorian/conversion.hpp:44:
warning: missing initializer for member 'tm::tm_year'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/gregorian/conversion.hpp:44:
warning: missing initializer for member 'tm::tm_wday'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/gregorian/conversion.hpp:44:
warning: missing initializer for member 'tm::tm_yday'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/gregorian/conversion.hpp:44:
warning: missing initializer for member 'tm::tm_isdst'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/gregorian/conversion.hpp:44:
warning: missing initializer for member 'tm::tm_gmtoff'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/gregorian/conversion.hpp:44:
warning: missing initializer for member 'tm::tm_zone'
In file included from
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/thread/xtime.hpp:15,
from
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/thread/pthread/mutex.hpp:13,
from
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/thread/mutex.hpp:16,
from
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/thread/pthread/thread_data.hpp:12,
from
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/thread/thread.hpp:17,
from log.h:29,
from extension.cpp:43:
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:
In function 'tm boost::posix_time::to_tm(const
boost::posix_time::time_duration&)':
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:45:
warning: missing initializer for member 'tm::tm_sec'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:45:
warning: missing initializer for member 'tm::tm_min'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:45:
warning: missing initializer for member 'tm::tm_hour'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:45:
warning: missing initializer for member 'tm::tm_mday'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:45:
warning: missing initializer for member 'tm::tm_mon'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:45:
warning: missing initializer for member 'tm::tm_year'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:45:
warning: missing initializer for member 'tm::tm_wday'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:45:
warning: missing initializer for member 'tm::tm_yday'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:45:
warning: missing initializer for member 'tm::tm_isdst'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:45:
warning: missing initializer for member 'tm::tm_gmtoff'
/nix/store/k7jzmfi6n9hi009ij1k0g1ganvwgm7z7-boost-1.40.0/include/boost/date_time/posix_time/conversion.hpp:45:
warning: missing initializer for member 'tm::tm_zone'
An example is here:
http://hydra.nixos.org/build/82202/log/raw
--
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/
Donald Knuth - I can't go to a restaurant because I keep looking at
the fonts on the menu.
More information about the nix-dev
mailing list