[bind10-dev] NetBSD Boost build warnings 2011-05-13

Shane Kerr shane at isc.org
Fri May 13 14:56:57 UTC 2011


All,

I added some code to try to figure out why we keep having tests fail for
timing issues, and I broke the build on the NetBSD system:

On Fri, 2011-05-13 at 13:05 +0000, BIND 10 Tests wrote:
> http://bind10.isc.org/~tester/builder//BIND10/20110513115003-NetBSD5-amd64/logs/build.out

cc1plus: warnings being treated as errors
/usr/pkg/include/boost/date_time/gregorian/conversion.hpp: In function 'tm boost::gregorian::to_tm(const boost::gregorian::date&)':
/usr/pkg/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member 'tm::tm_sec'
/usr/pkg/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member 'tm::tm_min'
/usr/pkg/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member 'tm::tm_hour'
/usr/pkg/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member 'tm::tm_mday'
/usr/pkg/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member 'tm::tm_mon'
/usr/pkg/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member 'tm::tm_year'
/usr/pkg/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member 'tm::tm_wday'
/usr/pkg/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member 'tm::tm_yday'
/usr/pkg/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member 'tm::tm_isdst'
/usr/pkg/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member 'tm::tm_gmtoff'
/usr/pkg/include/boost/date_time/gregorian/conversion.hpp:44: warning: missing initializer for member 'tm::tm_zone'

Any suggestions as to how to fix this? Perhaps we can disable warnings
on NetBSD for now? Or maybe there is an updated version of Boost with
this fixed?

Advice?

--
Shane




More information about the bind10-dev mailing list