Closed hummeltech closed 2 years ago
Thanks for looking into this, but it is unlikely that I'll get around to work on this. There are a several problems with those old compilers, sometimes they can't be fixed without generating problems with new compilers or upsetting clang-tidy and it becomes increasingly difficult to maintain this. So something just has to give. And Centos 7 is more than 7 years old by now! Sorry, but unless a sponsor is willing to put some money into this, I'll can not keep up compatibility in all cases.
Yeah, I suppose you're right, it's a shame that this breaking change was introduced in a minor point release and that distributions like RHEL/CentOS 7, which will still be supported for another 2.5 years, are still so widely used. Either way, I have pinpointed the breaking locations and made a small change in a commit here which does fix the build errors (albeit certainly not in the best way), perhaps I can dive into it more in order to identify a proper fix.
What version of libosmium are you using?
v2.17.3
What operating system and compiler are you using?
CentOS 7, gcc 4.8.5, cmake 2.8.12.2
Tell us something about your system
32GB RAM, 8 CPUs, bare metal
What did you do exactly?
What did you expect to happen?
I expected the build to complete successfully.
What did happen instead?
The build did not complete successfully.
What did you do to try analyzing the problem?
Going back to
v2.17.1
works just fine. I also created a branch here which fixes the build issues, leaving just a few test failures needing resolution. See here for a workflow run showing all jobs building successfully.