On Sun, Aug 17, 2008 at 10:36:57AM +0200, Erik Thiele wrote: > Am Samstag, 16. August 2008 16:08:15 schrieb Steve M. Robbins: > > On Sat, Aug 16, 2008 at 10:29:47AM +0200, Erik Thiele wrote: > > Note that Boost 1.34.1 is the old version of Boost. Version 1.35 is > > packaged for Debian, and Boost 1.36 was recently released (Debian > > packages are in progress). > > > > This code compiles without warnings using libboost-date-time1.35-dev. > > pn libboost-date-time-dev <keine> (keine > Beschreibung vorhanden) > rc libboost-date-time1.33.1 1.33.1-10 set of > date-time libraries based on generic > rc libboost-date-time1.34.1 1.34.1-11 set of > date-time libraries based on generic > ii libboost-date-time1.35-dev 1.35.0-5 set of > date-time libraries based on generic > ii libboost-date-time1.35.0 1.35.0-5 set of > date-time libraries based on generic > ii g++ 4:4.3.1-2 The GNU C++ compiler > > this is my versions. and i get the presented results. i checked it again.
The only difference apparent on my system is the compiler: [EMAIL PROTECTED] 495322.cc #include <boost/date_time/posix_time/ptime.hpp> void foo(boost::posix_time::ptime x) { x.date(); } [EMAIL PROTECTED] -Werror -c -Wall 495322.cc [EMAIL PROTECTED] --version gcc (Debian 4.3.1-9) 4.3.1 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [EMAIL PROTECTED] --list 'libboost-date-time*-dev' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=====================-=====================-========================================================== pn libboost-date-time-de <none> (no description available) ii libboost-date-time1.3 1.35.0-5 set of date-time libraries based on generic programming co [EMAIL PROTECTED]
signature.asc
Description: Digital signature