Boost logo

Boost Users :

From: Jeff Garland (jeff_at_[hidden])
Date: 2006-05-07 17:04:23


george wrote:
> hello!
>
>...snip details...
>
> .../boost/date_time/constrained_value.hpp:
> In member function ‘virtual bool Reservation::validation(std::string&)’:
> .../boost/date_time/constrained_value.hpp:64:
> warning: ‘year$D34041$value_’ is used uninitialized in this function
> .../date_time/constrained_value.hpp:64:
> warning: ‘year$D34041$value_’ is used uninitialized in this function
>
>
>
> why I get this warning?
> any idea?

The compiler is correct, it's coming from the library where it indicates
-- it can be safely ignored. It's only not initialized in the error
path where an exception will be thrown and the value isn't used.

Jeff


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