[Libreoffice] [Fwd: Re: [PATCH] cppcheck warning in sw/source/ui/uiview/viewprt.cxx]

Thorsten Behrens thb at documentfoundation.org
Wed Oct 6 03:29:11 PDT 2010


Cedric Bosdonnat wrote:
> On Tue, 2010-10-05 at 12:18 +0100, Caolán McNamara wrote:
> > > > Does anyone use that
> > > > dbgutil stuff? ( /me recall that maybe there is some extra usage ( or is
> > > > it just annoyance ) using that with windows )
> > 
> > I know that *I* never use it :-)
> 
> I'm not either. From what I've been told this is mainly used by some
> Oracle devs.
> 
If this is about --enable-dbgutil, I still use it, at times. My code
at least does some extra runtime checks that are too expensive in my
mind for production code - additionally, if you build with internal
stlport, you get their debug mode (which is totally helpful to catch
e.g. invalid iterator usages etc.)

There is discussion every once in a while to remove that mode, and
roll all the code into production use (runtime-configurable, if need
be) - or pour it into unit tests in the first place. But I think
we're not there _yet_.

Cheers,

-- Thorsten
-------------- 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/20101006/facf5f65/attachment.pgp>


More information about the LibreOffice mailing list