Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-12-14 01:05:03


George M. Garner Jr. wrote:
> More specifically, would someone please clarify these:
>

The seem pretty self-explanatory to me. The compiler if flagging code that
is deemed likely to be erroneous and/or error prone. Worth taking a look
at. Actually its seems a very short list given the amount of code involved.

I'll review these when I have time. The rest originate outside of the
serialization library.

> 1>h:\source
> code\boost\boost_1_33_1\libs\serialization\src\basic_iarchive.cpp(498)
> : warning C6246: Local declaration of 'w' hides declaration of the
> same name in outer scope. For additional information, see previous
> declaration
> at line '482' of 'h:\source
> code\boost\boost_1_33_1\libs\serialization\src\basic_iarchive.cpp':
> Lines: 482
>
> h:\source
> code\boost\boost_1_33_1\boost\archive\iterators\remove_whitespace.hpp(66)
> : error C6328: 'char' passed as parameter '1' when 'unsigned char' is
> required in call to 'isspace'
> h:\source
> code\boost\boost_1_33_1\libs\detail\utf8_codecvt_facet.cpp(162) :
> error C6269: Possibly incorrect order of operations: dereference
> ignored

<snip>

> h:\source
> code\boost\boost_1_33_1\boost\archive\iterators\binary_from_base64.hpp(53)
> : error C6385: Invalid data: accessing 'lookup_table', the readable
> size is '128' bytes, but '130' bytes might be read: Lines: 41, 51,
> 52, 53

<snip>

> 1>h:\source
> code\boost\boost_1_33_1\boost\archive\impl\xml_iarchive_impl.ipp(70) :
> warning C6246: Local declaration of 'result' hides declaration of the
> same name in outer scope. For additional information, see previous
> declaration at line '56' of 'h:\source
> code\boost\boost_1_33_1\boost\archive\impl\xml_iarchive_impl.ipp':
> Lines: 56


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