Boost logo

Boost :

From: Preston A. Elder (prez_at_[hidden])
Date: 2006-01-15 09:57:10


Don't know if anyone cares, however I DO get this warning on gcc 3.4.4:

/usr/include/boost/format/format_class.hpp: In constructor
`boost::basic_format<Ch, Tr, Alloc>::basic_format(const
std::basic_string<_CharT, _Traits, _Alloc>&, const std::locale&) [with Ch =
char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]':
../include/magick.h:58: instantiated from here
/usr/include/boost/format/format_class.hpp:137: warning:
`boost::basic_format<char, std::char_traits<char>, std::allocator<char>
>::loc_' will be initialized after
/usr/include/boost/format/format_class.hpp:135: warning: `unsigned char
boost::basic_format<char, std::char_traits<char>, std::allocator<char>
>::exceptions_'
/usr/include/boost/format/format_implementation.hpp:49: warning: when
initialized here

Basically an order of initialization warning. I run with:
-W -Wall -Wextra -Wpointer-arith -Wcast-align -Winvalid-pch -Wold-style-cast
-Woverloaded-virtual -Wsign-promo

Yeah, I want to know about everything that the compiler is correcting FOR me
instead of being correct.

-- 
PreZ :)
Death is life's way of telling you you've been fired.
                -- R. Geis

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk