<p></p>
<p><b>@joto</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/openstreetmap/osm2pgsql/pull/1251#discussion_r455567051">src/input-handler.cpp</a>:</p>
<pre style='color:#555'>> @@ -9,8 +9,23 @@ input_handler_t::input_handler_t(osmium::Box const &bbox, bool append,
 : m_data(osmdata), m_bbox(bbox), m_append(append)
 {}
 
+void input_handler_t::negative_id_warning()
+{
+    fmt::print(stderr,
+               "\nWARNING: The input file contains at least one object with "
+               "a negative id.\n         Negative ids are not properly "
+               "supported in osm2pgsql (and never\n         were). They will "
+               "not work in future versions at all. You can use\n"
+               "         the osmium tool to 'renumber' your file.\n\n");
</pre>
<p>I have forced pushed a new version with better formatting.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/pull/1251#discussion_r455567051">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353WOK6ULLXV5I5FNWQLR32T6DANCNFSM4O2ZCQZQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353VE4UFUBXUU72ZBTMTR32T6DA5CNFSM4O2ZCQZ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODLGAHPI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/pull/1251#discussion_r455567051",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/1251#discussion_r455567051",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>