Skip to content

Vendored ryu gives warning on some compilers about type limits #146

Description

@paleolimbot

This is Ubuntu on aarch64 via Docker:

warning: sedona-geoarrow-c@0.1.0: In file included from src/geoarrow/ryu/common.h:20,
warning: sedona-geoarrow-c@0.1.0:                  from src/geoarrow/ryu/d2s.c:43:
warning: sedona-geoarrow-c@0.1.0: src/geoarrow/ryu/common.h: In function 'decimalLength9':
warning: sedona-geoarrow-c@0.1.0: src/geoarrow/ryu/common.h:36:12: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
warning: sedona-geoarrow-c@0.1.0:    36 |   assert(v >= 0);
warning: sedona-geoarrow-c@0.1.0:       |            ^~
warning: sedona-geoarrow-c@0.1.0: src/geoarrow/ryu/common.h:36:12: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
warning: sedona-geoarrow-c@0.1.0:    36 |   assert(v >= 0);
warning: sedona-geoarrow-c@0.1.0:   

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions