Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
Description
ARROW-2275 introduced a `#ifndef NDEBUG` check around a function which caused the function to to be omitted during release builds.
As a workaround, ARROW-2313 added -DNDEBUG flags to the pkg-config cmake definition so that anyone using the release build of the package would not run into any issues with the missing code. As a result of this change,`pkg-config arrow --cflags` results in -DNDEBUG being added as a compiler flag, forcing itself on the downstream project whenever the dependency is located using pkg-config --.
The original `#ifndef NDEBUG` change was reverted with ARROW-2316, but the workaround in ARROW-2313 remains.
I am proposing to revert the workaround in ARROW-2313 so that downstream projects may link against the release build of arrow without adopting the -DNDEBUG flag unnecessarily.
Attachments
Issue Links
- links to