[Libreoffice] Usefulness of --enable-dbgutil

Tor Lillqvist tml at iki.fi
Thu Sep 15 01:46:31 PDT 2011


I wrote:
> I had to in them do an explicit

> #define _HAS_ITERATOR_DEBUGGING 0

> I wonder if that affects the layout of some structs/classes? In that
> case of course compiling just some source files with this would cause
> horrible run-time crashes...

Hmm, the comment in
http://msdn.microsoft.com/en-us/library/aa985939%28v=vs.80%29.aspx and
especially http://connect.microsoft.com/VisualStudio/feedback/details/334315/has-iterator-debugging-0-causes-crash
seems to indicate that, yes. Sigh.

I will remove those #define _HAS_ITERATOR_DEBUGGING 0 and instead try
to fix the code so that it compiles also against the debugging
library. But if that is impossible, I guess I will just revert this
whole _DEBUG thing. Sad.

--tml


More information about the LibreOffice mailing list