<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sciteco/m4/ax_check_enable_debug.m4, branch v2.5.2</title>
<subtitle>Scintilla-based Text Editor and COrrector</subtitle>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/sciteco/'/>
<entry>
<title>added ./configure --enable-debug and make sure that NDEBUG is defined properly</title>
<updated>2021-10-23T22:35:11+00:00</updated>
<author>
<name>Robin Haberkorn</name>
<email>robin.haberkorn@googlemail.com</email>
</author>
<published>2021-10-23T22:15:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/sciteco/commit/?id=aa00bf10d986bf3a022c33be1cb79fdd4dadf438'/>
<id>aa00bf10d986bf3a022c33be1cb79fdd4dadf438</id>
<content type='text'>
* This simplifies writing CFLAGS="-g -O0" CXXFLAGS="-g -O0".
* We build "release" binaries by default.
  NDEBUG will now be defined unless you specify --enable-debug.
  This enables some optimizations that have long been implemented but were never actually active:
  * SciTECO shuts down faster since it will not explicitly free memory.
    On the downside, this would complicate memory debugging with Valgrind/memcheck.
  * dlmalloc is built with -DINSECURE=1 which is supposedly a bit faster.
    Some compilers also complained about an unportable preprocessor usage which should
    now be gone.
* All CI builds are now with --enable-debug.
  This will slow them down but ensure that more code is executed and thus tested.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* This simplifies writing CFLAGS="-g -O0" CXXFLAGS="-g -O0".
* We build "release" binaries by default.
  NDEBUG will now be defined unless you specify --enable-debug.
  This enables some optimizations that have long been implemented but were never actually active:
  * SciTECO shuts down faster since it will not explicitly free memory.
    On the downside, this would complicate memory debugging with Valgrind/memcheck.
  * dlmalloc is built with -DINSECURE=1 which is supposedly a bit faster.
    Some compilers also complained about an unportable preprocessor usage which should
    now be gone.
* All CI builds are now with --enable-debug.
  This will slow them down but ensure that more code is executed and thus tested.
</pre>
</div>
</content>
</entry>
</feed>
