From: Warren Young
Date: April 5 2005 4:02pm
Subject: Re: Patch to fix compile error.
List-Archive: http://lists.mysql.com/plusplus/4219
Message-Id: <4252B67C.8060604@etr-usa.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Kevin Regan wrote:
> This fixes the problem.
Okay. Let's try one more refinement, to see if we can get rid of that
spurious return. Try this, please:
template operator Type() throw(BadNullConversion)
{
throw BadNullConversion();
}
I'm hoping that the addition of a throw-spec is all the compiler really
wants.
Alternately, if there's any way you can distill a short piece of test
code that will make this warning happen, I'll investigate further myself.