
Well please don't shoot the messenger! Suggest you leave it for now. Await other reports? Works fine. Only an annoyance for pedants that use warning level 4 I think. Paul | -----Original Message----- | From: boost-bounces@lists.boost.org | [mailto:boost-bounces@lists.boost.org] On Behalf Of Gennadiy Rozental | Sent: 13 November 2005 03:03 | To: boost@lists.boost.org | Subject: Re: [boost] Boost Test - yet more mostly spurious warnings. | | > | > # pragma warning(disable: 4180) // qualifier applied to | > | function type has | > | > no | > | > meaning; ignored | > | > | > | > at: | > | > const_string message() const { return !m_message ? | > | const_string() : | > | > const_string( m_message->str() ); } | > | > | > | > ^^ const not useful? but not wrong. | > | | > | Sorry, where is qualifier? | > | > Is it objecting to the const? | > | > const_string message() const | > | > shall I try removing it? | | It doesn't make any sence. class predicate_result has a | non-const method | mesage() already with completely different semantic. You couldn't and | shouldn't remove const there. And this qualifier has a well | defined meaning. | | Gennadiy