On 21/02/2014 12:55, Alex Peshkoff wrote:
> On 02/21/14 19:47, [email protected] wrote:
>
>>   
>> -#define FB_UNUSED(value) do { if (value); } while (false)
>> +#define FB_UNUSED(value) do { if (value) {} } while (false)
> Looks like a competition between compiler developers who try to force 
> users (i.e. us in this case) to check some returned values and users 
> trying to avoid warnings when that check is missing ;)
>
>
Actually, the old one was causing warning in clang too.

Now I tested only in Windows.

Did it still work without warning in gcc?


Adriano


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to