Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix]: Fix assert bug related to DNDEBUG flags #527 #533

Merged
merged 5 commits into from
Oct 12, 2022

Conversation

isinaltinkaya
Copy link
Collaborator

Add function aio::doAssert and macro ASSERT to replace asserts.

Fixes #527 which explains the bug about conda adding -DNDEBUG flag thus disabling the assert statements.
Fixes #520; fixes #474; fixes #466; fixes #420; fixes #405; fixes #396; fixes #385.
Possibly others too; so other issues should rerun the commands using the latest version.

Add function aio::doAssert to replace asserts
Did not use aio::assert as name  since aio.h
namespace complains due to assert being a macro
Fixes the major bug explained in #527
Fixes issues #520 #474 #466 #420 #405 #396 #385
Possibly others; other issues should rerun the
commands using the latest version.
ASSERT macro replaces expressions inplace so that
if expression failed do aio::assertFailed with
expression text and AT.

Update doAssert to function the same way as
assert macro.

Update all assert statements including misc
[chore] Merge master to branch
…d/angsd into fixassert_isinaltinkaya_221008_1207
@isinaltinkaya isinaltinkaya merged commit 5555c2f into master Oct 12, 2022
@isinaltinkaya isinaltinkaya deleted the fixassert_isinaltinkaya_221008_1207 branch October 18, 2022 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment