[
https://issues.apache.org/jira/browse/ARROW-17392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17579117#comment-17579117
]
Antoine Pitrou commented on ARROW-17392:
----------------------------------------
I'm not sure about this, but if we do it we probably want to hide it behind
macros to avoid littering the code with ifdef's.
[~bkietz] for opinions.
> [C++] Disable anonymous namespaces in debug mode
> ------------------------------------------------
>
> Key: ARROW-17392
> URL: https://issues.apache.org/jira/browse/ARROW-17392
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Sasha Krassovsky
> Assignee: Sasha Krassovsky
> Priority: Major
>
> I've had some pain points when using GDB and the pervasive use of anonymous
> namespaces throughout the code. I sent out an email on the mailing list and
> no one seemed to have any opinions, so I am opening this task. This task will
> gate anonymous namespaces around a `#ifndef NDEBUG` flag (or perhaps make a
> RELEASE_MODE_ANONYMOUS_NAMESPACE macro of some sort).
>
> Mailing list discussion:
> https://lists.apache.org/thread/61rjzb18mvft7lpwglyh4kq2gkbog4ts
--
This message was sent by Atlassian Jira
(v8.20.10#820010)