Skip to content

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Oct 30, 2020

The util/check.h does this job:

bitcoin/src/util/check.h

Lines 45 to 47 in 42b66a6

#if defined(NDEBUG)
#error "Cannot compile without assertions!"
#endif

util/check.h does this job.
@fanquake
Copy link
Member

NOTE: If this does get merged we'll also need to update the stripbuildinfo.patch

@practicalswift
Copy link
Contributor

The goal of src/compat/assumptions.h is to document all system assumptions we make we make.

The assumption that the macro NDEBUG is not defined is an important such assumption, so please don't remove the NDEBUG documentation from src/compat/assumptions.h :)

@hebasto hebasto closed this Oct 31, 2020
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants