Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-10622: [R] Nameof should not use "void" as the crib
On `r-arrow` (which uses the `clang` compiler's msvc compatibility mode), `arrow::util::detail::raw<T>()` is stringified as `arrow::util::detail::raw<T>(void)` which breaks the assumption that "void" can be searched for to find the offset of the typename. "double" is safer Closes #8681 from bkietz/clang-msvc-nameof-error Authored-by: Benjamin Kietzman <bengilgit@gmail.com> Signed-off-by: Benjamin Kietzman <bengilgit@gmail.com>
- Loading branch information
Showing
3 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters