[Libreoffice] fighting with debug macros...
Miklos Vajna
vmiklos at frugalware.org
Wed Dec 8 09:24:00 PST 2010
On Wed, Dec 08, 2010 at 03:34:50PM +0100, Pierre-André Jacquod <pjacquod at alumni.ethz.ch> wrote:
> include /ure/sal/inc/osl/diagnose.h in file, and use only OSL_Debug
> macros loosing all messages? Is it possible to add an additional
> OSL_ASSERT(condition, message) macro? Or not wanted?
We already have OSL_ENSURE() for that purpose.
AFAIK these macros are disabled in non-debug builds as evaluating the
expression passed to the macro takes time, and thus not wanted in builds
used by users.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101208/00f339c0/attachment.pgp>
More information about the LibreOffice
mailing list