kszucs edited a comment on pull request #9285:
URL: https://github.com/apache/arrow/pull/9285#issuecomment-765362746


   @xhochy a set of declaration issues with the static build:
   
   ```
   
/opt/vcpkg/installed/arm64-linux-static-release/include/aws/common/math.gcc_arm64_asm.inl:166:26:
 error: ‘uint32_t aws_add_u32_saturating(uint32_t, uint32_t)’ was declared 
‘extern’ and later ‘static’ [-fpermissive]
     166 | AWS_STATIC_IMPL uint32_t aws_add_u32_saturating(uint32_t a, uint32_t 
b) {
         |                          ^~~~~~~~~~~~~~~~~~~~~~
   In file included from 
/opt/vcpkg/installed/arm64-linux-static-release/include/aws/common/array_list.h:9,
                    from 
/opt/vcpkg/installed/arm64-linux-static-release/include/aws/event-stream/event_stream.h:9,
                    from 
/opt/vcpkg/buildtrees/aws-sdk-cpp/src/1c85d0a8c9-fb0dd46991.clean/aws-cpp-sdk-core/include/aws/core/utils/event/EventHeader.h:14,
                    from 
/opt/vcpkg/buildtrees/aws-sdk-cpp/src/1c85d0a8c9-fb0dd46991.clean/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamHandler.h:10,
                    from 
/opt/vcpkg/buildtrees/aws-sdk-cpp/src/1c85d0a8c9-fb0dd46991.clean/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamDecoder.h:10,
                    from 
/opt/vcpkg/buildtrees/aws-sdk-cpp/src/1c85d0a8c9-fb0dd46991.clean/aws-cpp-sdk-core/include/aws/core/utils/event/EventStreamBuf.h:9,
                    from 
/opt/vcpkg/buildtrees/aws-sdk-cpp/src/1c85d0a8c9-fb0dd46991.clean/aws-cpp-sdk-core/include/aws/core/utils/event/EventDecoderStream.h:8,
                    from 
/opt/vcpkg/buildtrees/aws-sdk-cpp/src/1c85d0a8c9-fb0dd46991.clean/aws-cpp-sdk-core/include/aws/core/utils/event/EventStream.h:7,
                    from 
/opt/vcpkg/buildtrees/aws-sdk-cpp/src/1c85d0a8c9-fb0dd46991.clean/aws-cpp-sdk-s3/source/S3Client.cpp:20,
                    from aws-cpp-sdk-s3/ub_S3.cpp:3:
   
/opt/vcpkg/installed/arm64-linux-static-release/include/aws/common/math.h:79:30:
 note: previous declaration of ‘uint32_t aws_add_u32_saturating(uint32_t, 
uint32_t)’
      79 | AWS_COMMON_MATH_API uint32_t aws_add_u32_saturating(uint32_t a, 
uint32_t b);
      ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to