[
https://issues.apache.org/jira/browse/ARROW-11337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17269626#comment-17269626
]
Weston Pace commented on ARROW-11337:
-------------------------------------
Yep, looks like my mistake. I'll fix it up. It is asserting `was_cb_run` is
false so that callback is never supposed to actually be run which is probably
why the test passes (but also means it isn't actually testing what it is
supposed to)
> [C++] Compilation error with ThreadSanitizer
> --------------------------------------------
>
> Key: ARROW-11337
> URL: https://issues.apache.org/jira/browse/ARROW-11337
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Antoine Pitrou
> Priority: Major
>
> With g++ 9.3.0 and {{ARROW_USE_TSAN=ON}}, I get the following compilation
> error:
> {code:java}
> ../src/arrow/util/future_test.cc: In lambda function:
> ../src/arrow/util/future_test.cc:548:5: error: control reaches end of
> non-void function [-Werror=return-type]
> 548 | });
> | ^
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)