serge-sans-paille / pythran

Ahead of Time compiler for numeric kernels
https://pythran.readthedocs.io
BSD 3-Clause "New" or "Revised" License
2.01k stars 193 forks source link

Compilation error caused by latest change to overlap #2158

Closed jeanlaroche closed 11 months ago

jeanlaroche commented 11 months ago

I'm getting a compilation error (see below) that's related to the recent change to the overlap detection.

ic/core.hpp:46:
In file included from /Users/jlaroche/ua_conda-Darwin.x86_64/miniforge/envs/jean/lib/python3.8/site-packages/pythran/pythonic/types/slice.hpp:5:
In file included from /Users/jlaroche/ua_conda-Darwin.x86_64/miniforge/envs/jean/lib/python3.8/site-packages/pythran/pythonic/types/NoneType.hpp:6:
In file included from /Users/jlaroche/ua_conda-Darwin.x86_64/miniforge/envs/jean/lib/python3.8/site-packages/pythran/pythonic/builtins/bool_.hpp:6:
In file included from /Users/jlaroche/ua_conda-Darwin.x86_64/miniforge/envs/jean/lib/python3.8/site-packages/pythran/pythonic/types/tuple.hpp:8:
In file included from /Users/jlaroche/ua_conda-Darwin.x86_64/miniforge/envs/jean/lib/python3.8/site-packages/pythran/pythonic/types/ndarray.hpp:38:
/Users/jlaroche/ua_conda-Darwin.x86_64/miniforge/envs/jean/lib/python3.8/site-packages/pythran/pythonic/types/numpy_gexpr.hpp:58:14: error: no member named 'baseid' in
      '(anonymous namespace)::pythonic::types::sliced_list<long, (anonymous namespace)::pythonic::types::cstride_slice<1>>'
    return e.baseid();

I hope this is enough to get an idea of where this happens