[pypy-issue] Issue #2657: unicodeobject.h: Py_UNICODE_strlen does not compile on clang at least (pypy/pypy)

Markus Stenberg issues-reply at bitbucket.org
Fri Sep 15 03:33:00 EDT 2017


New issue 2657: unicodeobject.h: Py_UNICODE_strlen does not compile on clang at least
https://bitbucket.org/pypy/pypy/issues/2657/unicodeobjecth-py_unicode_strlen-does-not

Markus Stenberg:

Py_LOCAL_INLINE(size_t) Py_UNICODE_strlen(const Py_UNICODE *u)
{
    int res = 0;
    while(*u++)
        res++;
    return res;
}

s/int/size_t/ = win (it now complains of implicit signedness conversion with default pip compilation flags at least)




More information about the pypy-issue mailing list