Boost logo

Boost :

From: Wilka (wilka_at_[hidden])
Date: 2001-10-30 17:04:29


I've totally given up on trying to fight with 4786, but thanks the STL
Error Decryptor(http://www.bdsoft.com/tools/stlfilt.html) I never see
them anymore. As well as turning things like this:

<error>
error C2440: 'initializing' : cannot convert from 'class
std::_Tree<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,struct
std::pair<class std::basic_string<char,s
truct std::char_traits<char>,class std::allocator<char> > const ,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > >,struct std::map<class
std::basic_string<char,struct std::char_traits<char>,class std::allocato
r<char> >,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,struct
std::less<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > >,class
std::allocator<class std::basic_string
<char,struct std::char_traits<char>,class std::allocator<char> > >
>::_Kfn,struct std::less<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > >,class
std::allocator<class std::basic_string<char,struct std::char_
traits<char>,class std::allocator<char> > > >::const_iterator' to 'class
std::_Tree<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,struct
std::pair<class std::basic_string<char,struct std::char_traits<char>,c
lass std::allocator<char> > const ,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > >,struct
std::map<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class std::basic_str
ing<char,struct std::char_traits<char>,class std::allocator<char>
>,struct std::less<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > >,class
std::allocator<class std::basic_string<char,struct std::char_traits<
char>,class std::allocator<char> > > >::_Kfn,struct std::less<class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class std::alloca
tor<char> > > >::iterator'
</error>

Into this:

<error>
error C2440: 'initializing': cannot convert from
'map<string,string>::const_iter' to 'map<string,string>::iter'
</error>

It kills those 4786 warnings before you get to see them :)

- Wilka

> -----Original Message-----
> From: williamkempf_at_[hidden] [mailto:williamkempf_at_[hidden]]
> Sent: 30 October 2001 19:09
> To: boost_at_[hidden]
> Subject: [boost] Warning 4786
>
>
> The new Boost.Config stuff tries to eliminate 4786 warnings (Debug
> names truncated to 255 characters) on MSVC++ 6. Unfortunately, it
> doesn't always work. There are a few places in Boost.Threads that
> still generate this warning, and unfortunately I can't find a way to
> eliminate them within Boost.Thread's code (no matter where I place a
> #pragma warning(disable : 4786) I still receive the warning). I've
> been able to vaguely pinpoint this as a "bug" in file depth handling
> of the pragma, but not to the point of being able to make use of the
> knowledge to eliminate the warnings. Just curious if anyone else has
> any insight into how we can work around this.
>
> Bill Kempf
>
>
> Info: http://www.boost.org Unsubscribe:
> <mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of
> Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>


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