[geos-devel] [GEOS] #1104: error: conversion from 'std::size_t' {aka 'long long unsigned int'} to 'long int' may change value [-Werror=conversion]

GEOS geos-trac at osgeo.org
Mon Mar 8 22:22:29 PST 2021


#1104: error: conversion from 'std::size_t' {aka 'long long unsigned int'} to
'long int' may change value [-Werror=conversion]
------------------------+---------------------------
 Reporter:  robe        |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  major       |   Milestone:  3.10.0
Component:  Default     |     Version:  master
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by robe):

 Only thing is why am I the only one affected by this if it's just a type
 issue or is my type being detected incorrectly.

 Compile works on my mingw64 32-bit but is failing on my mingw64 64-bit.

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/1104#comment:4>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list