|
Boost Users : |
Subject: Re: [Boost-users] boost::thread - many compiler warnings
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2010-05-12 03:46:34
Manfred Schwind <lists_at_[hidden]> writes:
> This worked great with all basic boost stuff that we've used previously.
> Now I tried just to include thread.hpp and I get many many compiler warnings!
> I just do:
>
> #include "boost/thread.hpp"
>
> The warnings are just two kinds of warnings:
> 1.) warning: implicit conversion shortens 64-bit value into a 32-bit value
> 2.) warning: missing initializer for member '...'
>
> An example for the first warning can be found in gregorian_calender.ipp (just showing relevant parts):
Most of these warnings are from the Boost.DateTime library, which is
used by Boost.Thread. I believe they are all harmless, if annoying.
Anthony
-- Author of C++ Concurrency in Action http://www.stdthread.co.uk/book/ just::thread C++0x thread library http://www.stdthread.co.uk Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976
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