Marton Szasz created MINIFICPP-2639:
---------------------------------------

             Summary: AWS extension build error with GCC 15 on some OSes
                 Key: MINIFICPP-2639
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2639
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Marton Szasz


{noformat}
In file included from 
/home/szaszm/release_verification/work/nifi-minifi-cpp-0.99.2-source/build-gcc-ninja/thirdparty/aws-sdk-cpp-src/src/aws-cpp-sdk-core/include/aws/core/utils/crypto/crt/CRTSecureRandom.h:6,
                 from 
/home/szaszm/release_verification/work/nifi-minifi-cpp-0.99.2-source/build-gcc-ninja/thirdparty/aws-sdk-cpp-src/src/aws-cpp-sdk-core/source/utils/crypto/crt/CRTSecureRandomBytes.cpp:5:
/home/szaszm/release_verification/work/nifi-minifi-cpp-0.99.2-source/build-gcc-ninja/thirdparty/aws-sdk-cpp-src/src/aws-cpp-sdk-core/include/aws/core/utils/crypto/SecureRandom.h:48:43:
 error: 'uint64_t' does not name a type
   48 |             template <typename DataType = uint64_t>
      |                                           ^~~~~~~~
/home/szaszm/release_verification/work/nifi-minifi-cpp-0.99.2-source/build-gcc-ninja/thirdparty/aws-sdk-cpp-src/src/aws-cpp-sdk-core/include/aws/core/utils/crypto/SecureRandom.h:9:1:
 note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixabl
e by adding '#include <cstdint>'
    8 | #include <cassert>
  +++ |+#include <cstdint>
    9 |{noformat}
Workaround: 
{noformat}
cmake -DCMAKE_CXX_FLAGS="-include cstdint"{noformat}



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

Reply via email to