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 trying to compile osrm-backend on Arch Linux with gcc 14.1.1. I checked out the latest git master branch, commit 21607e0cb2e8446f9c2a18dfbff08fba02dfa1d8.
The compilation fails with
In file included from [...]/osrm-backend/include/util/timezones.hpp:10,
from [...]/osrm-backend/src/util/timezones.cpp:1:
[...]/osrm-backend/third_party/rapidjson/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’:
[...]/osrm-backend/third_party/rapidjson/include/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef<CharType>::length’
319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
| ~~~~~~~^~~~~~~~~~~~
Issue
I am trying to compile osrm-backend on Arch Linux with gcc 14.1.1. I checked out the latest git master branch, commit
21607e0cb2e8446f9c2a18dfbff08fba02dfa1d8
.The compilation fails with
Steps to reproduce
Compile with
Specifications
osrm-backend git 21607e0cb2e8446f9c2a18dfbff08fba02dfa1d8
gcc 14.1.1
CMake 3.29.3
The text was updated successfully, but these errors were encountered: