Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-07-21 02:50:23


Hi Rene,

> ### mwcc Compiler:
> # In: ..\boost\program_options\detail\utf8_codecvt_facet.hpp
> # From: ..\libs\program_options\test\unicode_test.cpp
> # ------------------------------------------------------
> # 155: };
> # Warning: ^
> #
>
'boost::program_options::detail::utf8_codecvt_facet_wchar_t::do_length(const
> int &, const char *, const char *, unsigned int) const' hides inherited
> virtual function 'std::codecvt<wchar_t, char, int>::do_length(int &,
> const char *, const char *, unsigned int) const'
>
> As it turns out, this is a valid warning.

Yes, you're right. I've fixed it. Actually, I start to wonder if Boost
should have -Woverloaded-virtual added to gcc flags.

> virtual int do_length(stateT&, const externT* from,
> const externT* end, size_t max) const;
>
> This doesn't fix the failure,

Yea, I don't think this function is ever called.

> but I thought you'd like to know.

Sure, thanks!

- Volodya


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