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

Gang Wu resolved ORC-1967.
--------------------------
    Fix Version/s: 2.2.1
                   2.3.0
       Resolution: Fixed

Issue resolved by pull request 2345
[https://github.com/apache/orc/pull/2345]

> C++ compilation issue with VS2022
> ---------------------------------
>
>                 Key: ORC-1967
>                 URL: https://issues.apache.org/jira/browse/ORC-1967
>             Project: ORC
>          Issue Type: Improvement
>          Components: build, C++
>    Affects Versions: 2.2.0
>            Reporter: Nehal Jagdish Wani
>            Assignee: Nehal Jagdish Wani
>            Priority: Trivial
>             Fix For: 2.2.1, 2.3.0
>
>
> {noformat}
> [41/63] Building CXX object c++\src\CMakeFiles\orc.dir\Geospatial.cc.obj
> FAILED: c++/src/CMakeFiles/orc.dir/Geospatial.cc.obj 
> C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe
>   /nologo /TP -DABSL_CONSUME_DLL -DENABLE_METRICS=0 -DPROTOBUF_USE_DLLS 
> -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS 
> -D_SCL_SECURE_NO_WARNINGS -Dorc_EXPORTS -I%SRC_DIR%\build\c++\include 
> -I%SRC_DIR%\c++\include -I%SRC_DIR%\build\c++\src -I%SRC_DIR%\c++\src 
> -external:I%PREFIX%\Library\include -external:W0 /DPROTOBUF_USE_DLLS   
> -wd4521 -wd4146   -wd4521 -wd4146 /MD /O2 /Ob2 /DNDEBUG -std:c++17 /std:c++17 
> /showIncludes /Foc++\src\CMakeFiles\orc.dir\Geospatial.cc.obj 
> /Fdc++\src\CMakeFiles\orc.dir\ /FS -c %SRC_DIR%\c++\src\Geospatial.cc
> %SRC_DIR%\c++\src\Geospatial.cc(78): error C3861: '_byteSwap_ulong': 
> identifier not found
> %SRC_DIR%\c++\src\Geospatial.cc(81): error C3861: '_byteSwap_uint64': 
> identifier not found{noformat}



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

Reply via email to