Skip to content
Snippets Groups Projects
Commit de3e7aac authored by Gaël Bonithon's avatar Gaël Bonithon
Browse files

build: Get rid of #ifdef G_ENABLE_DEBUG

It just accumulates code that nobody ever checks compiles, and which
therefore has every chance of not compiling the day someone wants to run
it. It's also more practical to use environment variables to
enable/disable debugging output or program abort on warnings. As for
assertions, they have their own disabling mechanism when
G_DISABLE_CHECKS is set, i.e. when --disable-debug is used at our level.

Fixes: #280
parent 4799080d
No related branches found
No related tags found
No related merge requests found
Pipeline #25262 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment