[gdal-dev] r41166 broke the android build by using std::to_string

Alan Thomas athomas at thinkspatial.com.au
Tue Jan 2 19:07:46 PST 2018


Sorry about this! I knew it was only a matter of time before I would
break the build.

In r41170 I have got rid of std::to_string for now. It's easy enough
to replace it with CPLString().Printf(...).

Alan

On 3 January 2018 at 06:34, Kurt Schwehr <schwehr at gmail.com> wrote:
> +gdal-dev (oops!)
>
> On Tue, Jan 2, 2018 at 11:34 AM, Kurt Schwehr <schwehr at gmail.com> wrote:
>>
>> Alan,
>>
>> https://trac.osgeo.org/gdal/changeset/41166 broke the android build.  e.g.
>>
>> https://travis-ci.org/OSGeo/gdal/jobs/324249526
>>
>> I tried upgrading the android build to r16b and fixed up the includes, but
>> no luck.  Either the android build needs to switch from gcc to clang (which
>> may fix the build) or you need to replace std::to_string with something
>> else.  I'd vote for switching to clang, but I'm not up for doing that right
>> now.
>>
>> My attempts to fix:
>>
>> https://trac.osgeo.org/gdal/changeset/41168
>> https://trac.osgeo.org/gdal/changeset/41169
>>
>> -kurt
>
>
>
>
> --
> --
> http://schwehr.org



-- 
Alan Thomas
Software Developer
ThinkSpatial
http://www.thinkspatial.com.au


More information about the gdal-dev mailing list