On Wed, Dec 08, 2010 at 03:34:50PM +0100, Pierre-André Jacquod <pjacq...@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.
pgprGjTEreP3f.pgp
Description: PGP signature
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice