[Libreoffice] Building problem, DEBUG_ELEMENT when DEBUG is off

Joost Eekhoorn joost.eekhoorn at gmail.com
Tue Nov 23 14:51:39 PST 2010


Hi,
I had a problem in writerfilter, building without DEBUG.

I did some local hack with #undef, to get it building again.

#ifdef DEBUG
#include <resourcemodel/TagLogger.hxx>

namespace writerfilter {
    namespace dmapper {
        extern TagLogger::Pointer_t dmapper_logger;
    }
}
#else

#undef DEBUG_ELEMENT
#undef DEBUG_CREATE
#undef DEBUG_PROPERTIES
#undef DEBUG_ATTRIBUTES
#undef DEBUG_RESOLVE
#undef DEBUG_MEMORY
#undef DEBUG_CONTEXT_STACK
#undef DEBUG_DOMAINMAPPER

#endif // DEBUG

I hope it is fixed in the repository, so the next pull will be good.

I do not see others reporting building-problems.
Must report these problems or not?

Joost
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101123/7cb397b3/attachment.html>


More information about the LibreOffice mailing list