Giter Club home page Giter Club logo

Comments (1)

vincenzopalazzo avatar vincenzopalazzo commented on July 20, 2024

Mh looks like that rapidjson is causing some problem

In file included from /home/kali/Documents/SpyCblock/installer/bitcoin-api-cpp/rapidjson/test/unittest/pointertest.cpp:16:
In member function ‘rapidjson::GenericPointer<ValueType, Allocator>::Ch* rapidjson::GenericPointer<ValueType, Allocator>::CopyFromRaw(const rapidjson::GenericPointer<ValueType, Allocator>&, std::size_t, std::size_t) [with ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’,
    inlined from ‘rapidjson::GenericPointer<ValueType, Allocator> rapidjson::GenericPointer<ValueType, Allocator>::Append(const Token&, Allocator*) const [with ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’ at /home/kali/Documents/SpyCblock/installer/bitcoin-api-cpp/rapidjson/include/rapidjson/pointer.h:238:30,
    inlined from ‘rapidjson::GenericPointer<ValueType, Allocator> rapidjson::GenericPointer<ValueType, Allocator>::Append(const Ch*, rapidjson::SizeType, Allocator*) const [with ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’ at /home/kali/Documents/SpyCblock/installer/bitcoin-api-cpp/rapidjson/include/rapidjson/pointer.h:255:39,
    inlined from ‘typename rapidjson::internal::DisableIf<typename rapidjson::internal::RemoveSfinaeTag<rapidjson::internal::SfinaeTag& (*)(rapidjson::internal::NotExpr<rapidjson::internal::IsSame<typename rapidjson::internal::RemoveConst<T>::Type, typename Encoding::Ch> >)>::Type, typename rapidjson::internal::RemoveSfinaeTag<rapidjson::internal::SfinaeTag& (*)(rapidjson::GenericPointer<ValueType, Allocator>)>::Type>::Type rapidjson::GenericPointer<ValueType, Allocator>::Append(T*, Allocator*) const [with T = const char; ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’ at /home/kali/Documents/SpyCblock/installer/bitcoin-api-cpp/rapidjson/include/rapidjson/pointer.h:267:62,
    inlined from ‘virtual void Pointer_Append_Test::TestBody()’ at /home/kali/Documents/SpyCblock/installer/bitcoin-api-cpp/rapidjson/test/unittest/pointertest.cpp:574:21:
/home/kali/Documents/SpyCblock/installer/bitcoin-api-cpp/rapidjson/include/rapidjson/pointer.h:887:24: error: ‘void* memcpy(void*, const void*, size_t)’ offset [0, 23] is out of the bounds [0, 0] [-Werror=array-bounds=]
  887 |             std::memcpy(tokens_, rhs.tokens_, rhs.tokenCount_ * sizeof(Token));
      |             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [test/unittest/CMakeFiles/unittest.dir/build.make:272: test/unittest/CMakeFiles/unittest.dir/pointertest.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1683: test/unittest/CMakeFiles/unittest.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

I will try to play with it a little bit and maybe provide a nix shell where you can build it

from spycblock.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.