Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-01-28 01:57:12


> Test at 13 Jan 2006 MS moans in basic_cstring.hpp at
>
> value_type operator[]( size_type index ) const;
> value_type at( size_type index ) const;
>
> "C4180 qualifier applied to function type has no meaning; ignored"

I know about this. And it doen't make any sence to me. Looks like clear
compiler bug.

> Meanwhile, I have added to suppress_warnings.hpp
>
> # pragma warning(disable: 4224) // nonstandard extension used : formal
> parameter 'tm' was previously defined as a type
>
> tm needs renaming?

Renamed.

> # pragma warning(disable: 4180) // qualifier applied to function type has
> no
> meaning; ignored

Added to supporess/enable headers
> i:\boost-06-01-13-0500\boost\test\results_collector.hpp(79) : warning
> C4275:
> non dll-interface class 'boost::noncopyable_::noncopyable' used as base
> for
> dll-interface class 'boost::unit_test::singleton<Derived>'
> with
> [
> Derived=boost::unit_test::results_collector_t
> ]
> i:\boost-06-01-13-0500\boost\noncopyable.hpp(22) : see declaration
> of 'boost::noncopyable_::noncopyable'
>
> Should this be disabled somewhere too?

This is known MS compiler issue. I do not want this to be desabled. It's
actually useful warning in general.


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