You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2019/08/12 11:46:00 UTC
[jira] [Resolved] (ARROW-6190) [C++] Define and declare functions
regardless of NDEBUG
[ https://issues.apache.org/jira/browse/ARROW-6190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou resolved ARROW-6190.
-----------------------------------
Resolution: Fixed
Fix Version/s: 0.15.0
Issue resolved by pull request 5049
[https://github.com/apache/arrow/pull/5049]
> [C++] Define and declare functions regardless of NDEBUG
> -------------------------------------------------------
>
> Key: ARROW-6190
> URL: https://issues.apache.org/jira/browse/ARROW-6190
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Omer Ozarslan
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.15.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> NDEBUG is not shipped in linker flags, so I got a linker error with release build on FixedSizeBinaryBuilder::UnsafeAppend(util::string_view value) call, since it makes a call to CheckValueSize.
> This is somewhat a follow-up of ARROW-2313. I took the same path by removing NDEBUG ifdefs around CheckValueSize definition and declaration.
> I applied the same fix to CheckUTF8Initialized as well after grepping the source code for "#ifndef NDEBUG" and figured out it has the same issue.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)