[Tile-serving] [openstreetmap/osm2pgsql] Bind placeholders [...] in the global namespace is deprecated (Issue #1602)
Dennis Boldt
notifications at github.com
Mon Jan 3 13:32:47 UTC 2022
## What version of osm2pgsql are you using?
Github sorces, tag 1.5.1: https://github.com/openstreetmap/osm2pgsql/tree/1.5.1
## What operating system and PostgreSQL/PostGIS version are you using?
* Ubuntu 20.04
* No postgis/postgres
## What did you do exactly?
Build osm2pgsql from sources.
## What did happen instead?
In the `make` step, I see the following note:
```
[ 11%] Building CXX object src/CMakeFiles/osm2pgsql_lib.dir/gazetteer-style.cpp.o
In file included from /usr/include/boost/bind.hpp:30,
from /usr/include/boost/property_tree/json_parser/detail/parser.hpp:7,
from /usr/include/boost/property_tree/json_parser/detail/read.hpp:13,
from /usr/include/boost/property_tree/json_parser.hpp:16,
from /osm2pgsql/src/gazetteer-style.cpp:14:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1602
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/issues/1602 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220103/2e58db2c/attachment.htm>
More information about the Tile-serving
mailing list