Skip to content

Conversation

andy5995
Copy link
Contributor

resolves #406

I also added -UNDEBUG to tests/Makefile.am to make sure NDEBUG is always undefined for tests. (So if someone had debugging enabled, they won't have to re-run configure --enable-debug=off just to undefine it.)

Adding this arg to configure also will allow for turning on profiling, which can't really be used with the library by itself, afaik, but perhaps in the future a test may be added to utilize it.

@andy5995 andy5995 changed the title add configure arg to enable/disable debugging undefine NDEBUG for tests Jul 30, 2019
@harkue
Copy link

harkue commented Oct 12, 2019

LGTM ~

@hawicz hawicz merged commit 37b4da6 into json-c:master Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undefine NDEBUG for tests
3 participants