You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Gang Wu (Jira)" <ji...@apache.org> on 2023/08/31 06:03:00 UTC

[jira] [Updated] (ORC-1315) Byte to integer conversions fail on platforms with unsigned char type

     [ https://issues.apache.org/jira/browse/ORC-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gang Wu updated ORC-1315:
-------------------------
    Affects Version/s: 1.8.4

> Byte to integer conversions fail on platforms with unsigned char type
> ---------------------------------------------------------------------
>
>                 Key: ORC-1315
>                 URL: https://issues.apache.org/jira/browse/ORC-1315
>             Project: ORC
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 1.9.0, 1.8.4
>            Reporter: Hao Zou
>            Assignee: Hao Zou
>            Priority: Major
>             Fix For: 1.9.0
>
>
> When building the C++ library on a platform where char is by default unsigned, byte-to-integer expansion is incorrect in orc::expandBytesToIntegers as well as in a few unit tests.
> This can be reproduced on any CPU architecture when building with gcc by compiling with -funsigned-char.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)