Boost logo

Boost :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-07-21 02:36:13


I decided to look at the CW8 results, and saw that you marked the
unicode_test as an expected fail. So I thought I'd see if it could be fixed.

The first thing I did was to see why it was giving the warning:

### 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. It's an error in the
implementation. Specifically, as stated in 22.2.1.5 the signature for
do_length is:

virtual int do_length(stateT&, const externT* from,
        const externT* end, size_t max) const;

This doesn't fix the failure, but I thought you'd like to know.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

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