[Tile-serving] [openstreetmap/osm2pgsql] Fix build with v10 of the fmt library (PR #2000)

Jochen Topf notifications at github.com
Fri Jul 14 12:39:21 UTC 2023


`fmt::underlying` was only introduced in fmt 9.0.0. So this would break on Ubuntu 22.04 for instance which has fmt 8.1.1. I think we need a different solution here. Either we use `std::underlying_type` which is available since C++11, or maybe we should even output the status not as a number but some symbolic name.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/2000#issuecomment-1635805269
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/2000/c1635805269 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230714/01078725/attachment-0001.htm>


More information about the Tile-serving mailing list