List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:October 17 2006 7:37am
Subject:Re: [bug #7448] Patch to remove some warnings
View as plain text  
Korolyov Ilya wrote:
> 
> Original custom.pl.patch has such line:
> 
>   if (cmp = mysqlpp::sql_cmp(x.C$j , y.C$j ))
> 
> it give some additional warnings, so I propose to change it for:
>   
>   if ((cmp = mysqlpp::sql_cmp(x.C$j , y.C$j)))

Two minor objections:

1. What compiler(s) emit these warnings, and what flags does it take to 
make it happen?

2. I'd rather move the assignment out of the test part of the if 
statement than just add some opaque parens, but I can take care of that.
Thread
Re: [bug #7448] Patch to remove some warningsWarren Young17 Oct
  • Re: [bug #7448] Patch to remove some warningsКоролев Илья17 Oct
    • Re: [bug #7448] Patch to remove some warningsWarren Young17 Oct