Skip to content

Build warnings in template for intervaltree.pxi  #27169

Closed
@ghost

Description

The scalar_t fused type

ctypedef fused scalar_t:
float64_t
float32_t
int64_t
int32_t
uint64_t
mixes signed and unsigned types. Later on, the code does comparisons with unsigned types, which creates a bunch of compiler warning.

xref http://docs.cython.org/en/latest/src/userguide/fusedtypes.html#type-checking-specializations

From comments in #27157 it appears there's no established guideline on how different cases for different types should look like in the templates. That's a hindrance to fixing this (and other warnings) as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildLibrary building on various platformsIntervalInterval data type

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions