
7 May
2006
7 May
'06
3:04 p.m.
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