Commit 10666c9c authored by Bradley M. Froehle's avatar Bradley M. Froehle

Fix -Wreserved-user-defined-literal error in C++11.

    error: invalid suffix on literal; C++11 requires a space between literal and identifier
          [-Wreserved-user-defined-literal]
          "Item size of buffer (%"PY_FORMAT_SIZE_T"d byte%s) does not match size of '%s' (%"PY_FORMAT_SIZE_T"d byte%s)",
                                  ^
parent a4cac007
......@@ -802,7 +802,7 @@ static CYTHON_INLINE int __Pyx_GetBufferAndValidate(
}
if ((unsigned)buf->itemsize != dtype->size) {
PyErr_Format(PyExc_ValueError,
"Item size of buffer (%"PY_FORMAT_SIZE_T"d byte%s) does not match size of '%s' (%"PY_FORMAT_SIZE_T"d byte%s)",
"Item size of buffer (%" PY_FORMAT_SIZE_T "d byte%s) does not match size of '%s' (%" PY_FORMAT_SIZE_T "d byte%s)",
buf->itemsize, (buf->itemsize > 1) ? "s" : "",
dtype->name, (Py_ssize_t)dtype->size, (dtype->size > 1) ? "s" : "");
goto fail;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment