inducer / islpy

Python wrapper for isl, an integer set library
http://pypi.python.org/pypi/islpy
73 stars 19 forks source link

nanobind: disable warnings regarding deprecated ISL functions #117

Closed matthiasdiener closed 6 months ago

matthiasdiener commented 1 year ago

Avoids warnings of the type:

In file included from /Users/mdiener/Work/emirge/islpy/src/wrapper/wrap_isl_part2.cpp:5:
    /Users/mdiener/Work/emirge/islpy/src/wrapper/gen-wrap-part2.inc:12872:19: warning: 'isl_set_align_divs' is deprecated [-Wdeprecated-declarations]
    isl_set *result = isl_set_align_divs(auto_arg_self->m_data);
                      ^
    /Users/mdiener/Work/emirge/islpy/isl/include/isl/set.h:466:1: note: 'isl_set_align_divs' has been explicitly marked deprecated here
    ISL_DEPRECATED
    ^
    /Users/mdiener/Work/emirge/islpy/isl/include/isl/ctx.h:104:39: note: expanded from macro 'ISL_DEPRECATED'
    #define ISL_DEPRECATED  __attribute__((__deprecated__))

Also makes cibuildwheel more verbose.