Skip to content

XALANC-812: Replace use of !NDEBUG with XALAN_DEBUG#34

Merged
rleigh-codelibre merged 1 commit intoapache:masterfrom
rleigh-codelibre:XALANC-812_remove_NDEBUG_usage
Aug 20, 2020
Merged

XALANC-812: Replace use of !NDEBUG with XALAN_DEBUG#34
rleigh-codelibre merged 1 commit intoapache:masterfrom
rleigh-codelibre:XALANC-812_remove_NDEBUG_usage

Conversation

@rleigh-codelibre
Copy link
Copy Markdown
Contributor

Add new macros:

  • XALAN_DEBUG (to replace _DEBUG and !NDEBUG); defaults to ON for Debug builds, else OFF.
  • XALAN_CRT_DEBUG (to replace the above combined with _MSC_VER for memory leak checking); defaults to ON for Debug builds when using MSVC, else OFF.

Both are cache variables with auto-detected defaults which may be overridden if needed.

@rleigh-codelibre rleigh-codelibre merged commit 5f5c6d2 into apache:master Aug 20, 2020
@rleigh-codelibre rleigh-codelibre deleted the XALANC-812_remove_NDEBUG_usage branch August 20, 2020 18:42
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.

1 participant