[
https://issues.apache.org/jira/browse/ARROW-16478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yibo Cai updated ARROW-16478:
-----------------------------
Summary: [C++] cpu_info.cc fails clang-12 debug build on Arm (was: [C++]
cpu_info.cc fails clang-12 debug build)
> [C++] cpu_info.cc fails clang-12 debug build on Arm
> ---------------------------------------------------
>
> Key: ARROW-16478
> URL: https://issues.apache.org/jira/browse/ARROW-16478
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Yibo Cai
> Assignee: Yibo Cai
> Priority: Major
> Fix For: 9.0.0
>
>
> {code:bash}
> ../src/arrow/util/cpu_info.cc:124:13: error: implicit conversion loses
> integer precision: '__ssize_t' (aka 'long') to 'int'
> [-Werror,-Wshorten-64-to-32]
> int res = getline(&content, &file_len, cache_file);
> ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> {code}
> Not a blocking issue IMO.
> Looks there are more code needs refine in cpu_info.cc.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)