There are sections of the code marked #ifdef DEBUG.  How can I properly
enable compiling those sections in?
For example, I want to enable DEBUG_ELEMENT in
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx.  If I simply add
a "#define DEBUG_ELEMENT" I get errors about some of the code in the
define block (error: ‘debug_logger’ was not declared in this scope).
The document wiki.documentfoundation.org/Development/How_to_debug does
not mention #ifdef debugging blocks.  I'm already compiling with
--enable-dbgutil.  (Linux Mint 12.04, running "make" from a terminal)
Thanks. 
Justin
Context
- Fwd: How do you enable the #ifdef DEBUG sections? · Justin Luth
 
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.