You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am struggling to compile rttr on a Ubuntu 22.04 machine. I am using the master branch and the commit: 7edbd58. The error I get is:
~/rttr/3rd_party/rapidjson-1.1.0/rapidjson/document.h:1953:24: error: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class rapidjson::GenericValue<rapidjson::UTF8<>>’
with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Werror=class-memaccess]
1953 | std::memcpy(e, values, count * sizeof(GenericValue));|~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~´
The CMake configuration is:
-- The CXX compiler identification is GNU 11.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Project version: 0.9.7
-- Architecture: x64
-- Enabled: use of RTTI
-- Performing Test HAS_NO_EXCEPT_TYPE_SIGNATURE_SUPPORT
-- Performing Test HAS_NO_EXCEPT_TYPE_SIGNATURE_SUPPORT - Success
-- Performing Test HAS_STL_NO_EXCEPT_TYPE_SIGNATURE_SUPPORT
-- Performing Test HAS_STL_NO_EXCEPT_TYPE_SIGNATURE_SUPPORT - Success
-- Performing Test HAS_CXX_CONSTEXPR
-- Performing Test HAS_CXX_CONSTEXPR - Success
-- Performing Test HAS_PARTIAL_SPECIALIZATION_FOR_ARRAYS
-- Performing Test HAS_PARTIAL_SPECIALIZATION_FOR_ARRAYS - Success
-- using C++: 17
I passed "-sd=c++11" as CMAKE_CXX_FLAGS but that led to the compiler being usable right in the CMake phase. How can I resolve the above error?
The text was updated successfully, but these errors were encountered:
Hello,
I am struggling to compile
rttr
on a Ubuntu 22.04 machine. I am using themaster
branch and the commit: 7edbd58. The error I get is:The CMake configuration is:
I passed
"-sd=c++11"
asCMAKE_CXX_FLAGS
but that led to the compiler being usable right in the CMake phase. How can I resolve the above error?The text was updated successfully, but these errors were encountered: