summaryrefslogtreecommitdiffstats
path: root/autodoc
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-08-21 14:17:45 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-08-21 14:30:37 +0300
commit9097947b9bed8e3005af4a73df93b9c54c938cd1 (patch)
tree666d985a545ee3b03b6abc0db0c9110ee26e1d76 /autodoc
parentAlso oldnames.lib (diff)
downloadcore-9097947b9bed8e3005af4a73df93b9c54c938cd1.tar.gz
core-9097947b9bed8e3005af4a73df93b9c54c938cd1.zip
Revert "I am tired of thesee assertions, put them behind dbglevel>2"
Nah, having them behind dbglevel>1 is fine (which already means these assertions won't normally be compiled even with --enable-debug). I got mislead as I was building with dbglevel=2 everywhere. But pondering the point of dbglevel a.k.a. OSL_DEBUG_LEVEL, I think the right way to see it is: You are not supposed to build all (or large parts) of LibreOffice with dbglevel=2. If we used OSL_TRACE all over the place as thoroughly as in some files in sal/rtl, that would lead to astronomical amounts of tracing output. (We don't use OSL_TRACE like that, but that is another thing...) I think the intended use of dbglevel is that you should build with dbglevel=2 only the small part of code you are currently actively working on, when you want to see trace output. Of course, another problem then is that in some modules and/or libraries it might not be possible to compile just a part of the sources with dbglevel=2. That should be fixed. This reverts commit a3bad2855032fb2742feea1e0e350297d41f69fe.
Diffstat (limited to 'autodoc')
0 files changed, 0 insertions, 0 deletions