<p>I have re-done this PR using format strings parsed at compile time (works from C++14). Uses a slightly ugly syntax <code>"fmt string"_format(params)</code>, but the compile time check is worth it. Travis now tests the C++14 build on bionic.</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/1004?email_source=notifications&email_token=AA6353XVBJN37YMBSEQPEOLQVZYUXA5CNFSM4JRNZ45KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFJP2RY#issuecomment-559086919">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353U6O735I4GX25EGWHTQVZYUXANCNFSM4JRNZ45A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353URVAQE3BN7UBVCULLQVZYUXA5CNFSM4JRNZ45KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFJP2RY.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/1004?email_source=notifications\u0026email_token=AA6353XVBJN37YMBSEQPEOLQVZYUXA5CNFSM4JRNZ45KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFJP2RY#issuecomment-559086919",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/1004?email_source=notifications\u0026email_token=AA6353XVBJN37YMBSEQPEOLQVZYUXA5CNFSM4JRNZ45KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFJP2RY#issuecomment-559086919",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>