Yeah, sorry about the miscommunication among F5'ers. Compiler is GCC
3.2.3 for Centos (RHEL 3 renamed & redistributed).
I don't know that your change works but I bet it does. Will check
today.
-SR
> -----Original Message-----
> From: Warren Young [mailto:mysqlpp@stripped]
> Sent: Tuesday, April 05, 2005 5:15 AM
> To: MySQL++ Mailing List
> Subject: Re: Patch to fix compile error.
>
> Kevin Regan wrote:
> > - template <class Type> operator Type () {throw
> BadNullConversion();}
> > + template <class Type> operator Type () {if (1) throw
> > + BadNullConversion();else return Type();}
>
> I rejected this once before, because it's UGLY. I'll accept:
>
> template <class Type> operator Type ()
> {
> throw BadNullConversion();
> return Type();
> }
>
> ...if that fixes the warning.
>
> Also, what compiler does this affect?
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:
> http://lists.mysql.com/plusplus?unsub=1
>
>