[Tile-serving] [osm2pgsql] Fix warnings when compiling tests, use -Werror with travis (#395)

Paul Norman notifications at github.com
Thu Jul 16 00:05:42 UTC 2015


> @@ -129,7 +129,7 @@ const std::string &tempdb::conninfo() const {
>      return m_conninfo;
>  }
>  
> -void tempdb::setup_extension(conn_ptr db, const std::string &extension, ...) {
> +void tempdb::setup_extension(conn_ptr db, const std::string extension, ...) {

I'm not sure of a better way to handle this, but `va_start(ap, extension);` isn't valid with a reference type.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/395/files#r34744127
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150715/79442f6c/attachment.html>


More information about the Tile-serving mailing list