Hi Stephan,

> At OSL_DEBUG_LEVEL == 0,
> 
>    OSL_VERIFY(callFoo(bar) == good);
> 
> is just
> 
>    ((void)(callFoo(bar) == good);
> 
> which you also trust the compiler to simplify.

Honestly: no, I wouldn't. I would have expected that this is simply
expanded to
  callFoo(bar) == good
There's probably a reason for this not working, which I overlook, is there?

> Just trust the compiler to do its job.

Uhm, well, yes ...

Thanks & Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Database                   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to