Skip to content

DOC,BLD: Errors building docs with sphinx 3 #16217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rossbar opened this issue May 12, 2020 · 7 comments
Closed

DOC,BLD: Errors building docs with sphinx 3 #16217

rossbar opened this issue May 12, 2020 · 7 comments

Comments

@rossbar
Copy link
Contributor

rossbar commented May 12, 2020

When attempting to build the documentation using Sphinx 3.0, many warnings are raised, particularly when parsing the C code. Nearly all of the warnings are Invalid C declaration, falling into two main subcategories: Expected identifier in a nested name or Expected end of definition.

An abridged build log (skipping succesful build steps, showing only warnings) can be found below:

...

reading sources... [ 99%] user/troubleshooting-importerror
reading sources... [ 99%] user/tutorial-svd
.virtualenvs/tmp/lib/python3.8/site-packages/sphinx/application.py:991: RemovedInSphinx40Warning: app.add_lexer() API changed; Please give lexer class instead instance
warnings.warn('app.add_lexer() API changed; '
reading sources... [ 99%] user/tutorials_index
reading sources... [100%] user/whatisnumpy

repos/numpy/doc/source/reference/arrays.interface.rst:200: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
array_struct
----------------^
repos/numpy/doc/source/reference/c-api/array.rst:330: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyArray_FILLWBYTE(PyObject* obj, int val)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 26]
PyArray_FILLWBYTE(PyObject
obj, int val)
--------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:432: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
NPY_ARRAY_C_CONTIGUOUS
----------------------^
repos/numpy/doc/source/reference/c-api/array.rst:436: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
NPY_ARRAY_F_CONTIGUOUS
----------------------^
repos/numpy/doc/source/reference/c-api/array.rst:440: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_ARRAY_ALIGNED
-----------------^
repos/numpy/doc/source/reference/c-api/array.rst:447: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_ARRAY_WRITEABLE
-------------------^
repos/numpy/doc/source/reference/c-api/array.rst:451: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 20]
NPY_ARRAY_ENSURECOPY
--------------------^
repos/numpy/doc/source/reference/c-api/array.rst:456: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 21]
NPY_ARRAY_ENSUREARRAY
---------------------^
repos/numpy/doc/source/reference/c-api/array.rst:463: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_ARRAY_FORCECAST
-------------------^
repos/numpy/doc/source/reference/c-api/array.rst:469: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 25]
NPY_ARRAY_WRITEBACKIFCOPY
-------------------------^
repos/numpy/doc/source/reference/c-api/array.rst:482: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
NPY_ARRAY_UPDATEIFCOPY
----------------------^
repos/numpy/doc/source/reference/c-api/array.rst:489: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_ARRAY_BEHAVED
-----------------^
repos/numpy/doc/source/reference/c-api/array.rst:493: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_ARRAY_CARRAY
----------------^
repos/numpy/doc/source/reference/c-api/array.rst:497: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_ARRAY_CARRAY_RO
-------------------^
repos/numpy/doc/source/reference/c-api/array.rst:501: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_ARRAY_FARRAY
----------------^
repos/numpy/doc/source/reference/c-api/array.rst:505: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_ARRAY_FARRAY_RO
-------------------^
repos/numpy/doc/source/reference/c-api/array.rst:509: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_ARRAY_DEFAULT
-----------------^
repos/numpy/doc/source/reference/c-api/array.rst:513: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 18]
NPY_ARRAY_IN_ARRAY
------------------^
repos/numpy/doc/source/reference/c-api/array.rst:517: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_ARRAY_IN_FARRAY
-------------------^
repos/numpy/doc/source/reference/c-api/array.rst:521: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_OUT_ARRAY
-------------^
repos/numpy/doc/source/reference/c-api/array.rst:526: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_ARRAY_OUT_ARRAY
-------------------^
repos/numpy/doc/source/reference/c-api/array.rst:531: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 20]
NPY_ARRAY_OUT_FARRAY
--------------------^
repos/numpy/doc/source/reference/c-api/array.rst:536: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 21]
NPY_ARRAY_INOUT_ARRAY
---------------------^
repos/numpy/doc/source/reference/c-api/array.rst:542: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
NPY_ARRAY_INOUT_FARRAY
----------------------^
repos/numpy/doc/source/reference/c-api/array.rst:578: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 20]
NPY_ARRAY_NOTSWAPPED
--------------------^
repos/numpy/doc/source/reference/c-api/array.rst:589: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 20]
NPY_ARRAY_BEHAVED_NS
--------------------^
repos/numpy/doc/source/reference/c-api/array.rst:593: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 24]
NPY_ARRAY_ELEMENTSTRIDES
------------------------^
repos/numpy/doc/source/reference/c-api/array.rst:785: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 13]
PyArray_Check(PyObject *op)
-------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 23]
PyArray_Check(PyObject *op)
-----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:790: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 18]
PyArray_CheckExact(PyObject *op)
------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 28]
PyArray_CheckExact(PyObject *op)
----------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:795: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 25]
PyArray_HasArrayInterface(PyObject *op, PyObject *out)
-------------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 35]
PyArray_HasArrayInterface(PyObject *op, PyObject *out)
-----------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:803: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 29]
PyArray_HasArrayInterfaceType(op, dtype, context, out)
-----------------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 32]
PyArray_HasArrayInterfaceType(op, dtype, context, out)
--------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:814: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyArray_IsZeroDim(op)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 20]
PyArray_IsZeroDim(op)
--------------------^

repos/numpy/doc/source/reference/c-api/array.rst:819: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyArray_IsScalar(op, cls)
----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 19]
PyArray_IsScalar(op, cls)
-------------------^

repos/numpy/doc/source/reference/c-api/array.rst:823: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyArray_CheckScalar(op)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 22]
PyArray_CheckScalar(op)
----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:829: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 22]
PyArray_IsPythonNumber(op)
----------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 25]
PyArray_IsPythonNumber(op)
-------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:834: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 22]
PyArray_IsPythonScalar(op)
----------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 25]
PyArray_IsPythonScalar(op)
-------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:839: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyArray_IsAnyScalar(op)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 22]
PyArray_IsAnyScalar(op)
----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:845: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 22]
PyArray_CheckAnyScalar(op)
----------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 25]
PyArray_CheckAnyScalar(op)
-------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:861: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 20]
PyTypeNum_ISUNSIGNED(int num)
--------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 24]
PyTypeNum_ISUNSIGNED(int num)
------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:863: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 21]
PyDataType_ISUNSIGNED(PyArray_Descr *descr)
---------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 36]
PyDataType_ISUNSIGNED(PyArray_Descr *descr)
------------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:865: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 18]
PyArray_ISUNSIGNED(PyArrayObject *obj)
------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 33]
PyArray_ISUNSIGNED(PyArrayObject *obj)
---------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:869: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 18]
PyTypeNum_ISSIGNED(int num)
------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 22]
PyTypeNum_ISSIGNED(int num)
----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:871: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyDataType_ISSIGNED(PyArray_Descr *descr)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 34]
PyDataType_ISSIGNED(PyArray_Descr *descr)
----------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:873: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyArray_ISSIGNED(PyArrayObject *obj)
----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 31]
PyArray_ISSIGNED(PyArrayObject *obj)
-------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:877: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyTypeNum_ISINTEGER(int num)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 23]
PyTypeNum_ISINTEGER(int num)
-----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:879: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 20]
PyDataType_ISINTEGER(PyArray_Descr* descr)
--------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 34]
PyDataType_ISINTEGER(PyArray_Descr
descr)
----------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:881: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyArray_ISINTEGER(PyArrayObject *obj)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 32]
PyArray_ISINTEGER(PyArrayObject *obj)
--------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:885: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyTypeNum_ISFLOAT(int num)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 21]
PyTypeNum_ISFLOAT(int num)
---------------------^

repos/numpy/doc/source/reference/c-api/array.rst:887: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 18]
PyDataType_ISFLOAT(PyArray_Descr* descr)
------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 32]
PyDataType_ISFLOAT(PyArray_Descr
descr)
--------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:889: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 15]
PyArray_ISFLOAT(PyArrayObject *obj)
---------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 30]
PyArray_ISFLOAT(PyArrayObject *obj)
------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:893: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyTypeNum_ISCOMPLEX(int num)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 23]
PyTypeNum_ISCOMPLEX(int num)
-----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:895: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 20]
PyDataType_ISCOMPLEX(PyArray_Descr* descr)
--------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 34]
PyDataType_ISCOMPLEX(PyArray_Descr
descr)
----------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:897: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyArray_ISCOMPLEX(PyArrayObject *obj)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 32]
PyArray_ISCOMPLEX(PyArrayObject *obj)
--------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:901: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 18]
PyTypeNum_ISNUMBER(int num)
------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 22]
PyTypeNum_ISNUMBER(int num)
----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:903: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyDataType_ISNUMBER(PyArray_Descr* descr)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 33]
PyDataType_ISNUMBER(PyArray_Descr
descr)
---------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:905: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyArray_ISNUMBER(PyArrayObject *obj)
----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 31]
PyArray_ISNUMBER(PyArrayObject *obj)
-------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:910: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 18]
PyTypeNum_ISSTRING(int num)
------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 22]
PyTypeNum_ISSTRING(int num)
----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:912: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyDataType_ISSTRING(PyArray_Descr* descr)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 33]
PyDataType_ISSTRING(PyArray_Descr
descr)
---------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:914: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyArray_ISSTRING(PyArrayObject *obj)
----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 31]
PyArray_ISSTRING(PyArrayObject *obj)
-------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:918: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 18]
PyTypeNum_ISPYTHON(int num)
------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 22]
PyTypeNum_ISPYTHON(int num)
----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:920: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyDataType_ISPYTHON(PyArray_Descr* descr)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 33]
PyDataType_ISPYTHON(PyArray_Descr
descr)
---------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:922: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyArray_ISPYTHON(PyArrayObject *obj)
----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 31]
PyArray_ISPYTHON(PyArrayObject *obj)
-------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:927: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 20]
PyTypeNum_ISFLEXIBLE(int num)
--------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 24]
PyTypeNum_ISFLEXIBLE(int num)
------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:929: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 21]
PyDataType_ISFLEXIBLE(PyArray_Descr* descr)
---------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 35]
PyDataType_ISFLEXIBLE(PyArray_Descr
descr)
-----------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:931: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 18]
PyArray_ISFLEXIBLE(PyArrayObject *obj)
------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 33]
PyArray_ISFLEXIBLE(PyArrayObject *obj)
---------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:936: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 20]
PyDataType_ISUNSIZED(PyArray_Descr* descr):
--------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 34]
PyDataType_ISUNSIZED(PyArray_Descr
descr):
----------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:946: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyTypeNum_ISUSERDEF(int num)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 23]
PyTypeNum_ISUSERDEF(int num)
-----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:948: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 20]
PyDataType_ISUSERDEF(PyArray_Descr* descr)
--------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 34]
PyDataType_ISUSERDEF(PyArray_Descr
descr)
----------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:950: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyArray_ISUSERDEF(PyArrayObject *obj)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 32]
PyArray_ISUSERDEF(PyArrayObject *obj)
--------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:954: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 20]
PyTypeNum_ISEXTENDED(int num)
--------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 24]
PyTypeNum_ISEXTENDED(int num)
------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:956: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 21]
PyDataType_ISEXTENDED(PyArray_Descr* descr)
---------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 35]
PyDataType_ISEXTENDED(PyArray_Descr
descr)
-----------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:958: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 18]
PyArray_ISEXTENDED(PyArrayObject *obj)
------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 33]
PyArray_ISEXTENDED(PyArrayObject *obj)
---------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:962: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 18]
PyTypeNum_ISOBJECT(int num)
------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 22]
PyTypeNum_ISOBJECT(int num)
----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:964: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyDataType_ISOBJECT(PyArray_Descr* descr)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 33]
PyDataType_ISOBJECT(PyArray_Descr
descr)
---------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:966: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyArray_ISOBJECT(PyArrayObject *obj)
----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 31]
PyArray_ISOBJECT(PyArrayObject *obj)
-------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:970: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyTypeNum_ISBOOL(int num)
----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 20]
PyTypeNum_ISBOOL(int num)
--------------------^

repos/numpy/doc/source/reference/c-api/array.rst:972: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyDataType_ISBOOL(PyArray_Descr* descr)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 31]
PyDataType_ISBOOL(PyArray_Descr
descr)
-------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:974: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 14]
PyArray_ISBOOL(PyArrayObject *obj)
--------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 29]
PyArray_ISBOOL(PyArrayObject *obj)
-----------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:978: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 20]
PyDataType_HASFIELDS(PyArray_Descr* descr)
--------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 34]
PyDataType_HASFIELDS(PyArray_Descr
descr)
----------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:980: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyArray_HASFIELDS(PyArrayObject *obj)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 32]
PyArray_HASFIELDS(PyArrayObject *obj)
--------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:984: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 20]
PyArray_ISNOTSWAPPED(m)
--------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 22]
PyArray_ISNOTSWAPPED(m)
----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:989: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 21]
PyArray_ISBYTESWAPPED(m)
---------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 23]
PyArray_ISBYTESWAPPED(m)
-----------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1014: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 28]
int PyArray_EquivByteorders({byteorder} b1, {byteorder} b2)
----------------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1392: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
NPY_ARRAY_C_CONTIGUOUS
----------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1397: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
NPY_ARRAY_F_CONTIGUOUS
----------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1418: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_ARRAY_OWNDATA
-----------------^
repos/numpy/doc/source/reference/c-api/array.rst:1422: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_ARRAY_ALIGNED
-----------------^
repos/numpy/doc/source/reference/c-api/array.rst:1426: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_ARRAY_WRITEABLE
-------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1433: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 25]
NPY_ARRAY_WRITEBACKIFCOPY
-------------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1452: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
NPY_ARRAY_UPDATEIFCOPY
----------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1469: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_ARRAY_BEHAVED
-----------------^
repos/numpy/doc/source/reference/c-api/array.rst:1473: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_ARRAY_CARRAY
----------------^
repos/numpy/doc/source/reference/c-api/array.rst:1477: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_ARRAY_CARRAY_RO
-------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1481: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_ARRAY_FARRAY
----------------^
repos/numpy/doc/source/reference/c-api/array.rst:1485: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_ARRAY_FARRAY_RO
-------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1489: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_ARRAY_DEFAULT
-----------------^
repos/numpy/doc/source/reference/c-api/array.rst:1493: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 20]
NPY_ARRAY_UPDATE_ALL
--------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1504: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_ARRAY_FORCECAST
-------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1509: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 20]
NPY_ARRAY_ENSURECOPY
--------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1513: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 21]
NPY_ARRAY_ENSUREARRAY
---------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1517: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 20]
NPY_ARRAY_NOTSWAPPED
--------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1522: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 20]
NPY_ARRAY_BEHAVED_NS
--------------------^
repos/numpy/doc/source/reference/c-api/array.rst:1533: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyArray_CHKFLAGS(PyObject *arr, flags)
----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 26]
PyArray_CHKFLAGS(PyObject *arr, flags)
--------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1543: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 23]
PyArray_IS_C_CONTIGUOUS(PyObject *arr)
-----------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 33]
PyArray_IS_C_CONTIGUOUS(PyObject *arr)
---------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1547: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 23]
PyArray_IS_F_CONTIGUOUS(PyObject *arr)
-----------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 33]
PyArray_IS_F_CONTIGUOUS(PyObject *arr)
---------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1551: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyArray_ISFORTRAN(PyObject *arr)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 27]
PyArray_ISFORTRAN(PyObject *arr)
---------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1557: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyArray_ISWRITEABLE(PyObject *arr)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 29]
PyArray_ISWRITEABLE(PyObject *arr)
-----------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1561: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyArray_ISALIGNED(PyObject *arr)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 27]
PyArray_ISALIGNED(PyObject *arr)
---------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1566: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyArray_ISBEHAVED(PyObject *arr)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 27]
PyArray_ISBEHAVED(PyObject *arr)
---------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1571: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 20]
PyArray_ISBEHAVED_RO(PyObject *arr)
--------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 30]
PyArray_ISBEHAVED_RO(PyObject *arr)
------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1576: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyArray_ISCARRAY(PyObject *arr)
----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 26]
PyArray_ISCARRAY(PyObject *arr)
--------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1581: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyArray_ISFARRAY(PyObject *arr)
----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 26]
PyArray_ISFARRAY(PyObject *arr)
--------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1586: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyArray_ISCARRAY_RO(PyObject *arr)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 29]
PyArray_ISCARRAY_RO(PyObject *arr)
-----------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1591: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyArray_ISFARRAY_RO(PyObject *arr)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 29]
PyArray_ISFARRAY_RO(PyObject *arr)
-----------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1596: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 20]
PyArray_ISONESEGMENT(PyObject *arr)
--------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 30]
PyArray_ISONESEGMENT(PyObject *arr)
------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:1871: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_RAISE
---------^
repos/numpy/doc/source/reference/c-api/array.rst:1875: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_WRAP
--------^
repos/numpy/doc/source/reference/c-api/array.rst:1880: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_CLIP
--------^
repos/numpy/doc/source/reference/c-api/array.rst:2258: WARNING: Error in declarator or parameters
Invalid C declaration: Expecting "," or ")" in parameters, got "". [error at 44]
PyObject* PyArray_CopyAndTranspose(PyObject * op)
--------------------------------------------^
repos/numpy/doc/source/reference/c-api/array.rst:2420: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_AUXDATA_FREE(auxdata)
----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 24]
NPY_AUXDATA_FREE(auxdata)
------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:2425: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_AUXDATA_CLONE(auxdata)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 25]
NPY_AUXDATA_CLONE(auxdata)
-------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:2448: WARNING: Error in declarator or parameters
Invalid C declaration: Expecting "," or ")" in parameters, got "". [error at 52]
PyObject* PyArray_IterAllButAxis(PyObject* arr, int *axis)
----------------------------------------------------^
repos/numpy/doc/source/reference/c-api/array.rst:2492: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyArray_ITER_GOTO1D(PyObject* iterator, npy_intp index)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 28]
PyArray_ITER_GOTO1D(PyObject
iterator, npy_intp index)
----------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:2955: WARNING: Error in declarator or parameters
Invalid C declaration: Expecting "," or ")" in parameters, got "". [error at 35]
int PyArray_AxisConverter(PyObject * obj, int* axis)
-----------------------------------^
repos/numpy/doc/source/reference/c-api/array.rst:3237: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 14]
PyDataMem_FREE(char* ptr)
--------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: char [error at 19]
PyDataMem_FREE(char
ptr)
-------------------^

repos/numpy/doc/source/reference/c-api/array.rst:3246: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 13]
PyDimMem_FREE(char* ptr)
-------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: char [error at 18]
PyDimMem_FREE(char
ptr)
------------------^

repos/numpy/doc/source/reference/c-api/array.rst:3254: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 12]
PyArray_free(void* ptr)
------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: void [error at 17]
PyArray_free(void
ptr)
-----------------^

repos/numpy/doc/source/reference/c-api/array.rst:3332: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 23]
NPY_BEGIN_THREADS_DESCR(PyArray_Descr *dtype)
-----------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 38]
NPY_BEGIN_THREADS_DESCR(PyArray_Descr *dtype)
--------------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:3338: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 21]
NPY_END_THREADS_DESCR(PyArray_Descr *dtype)
---------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 36]
NPY_END_THREADS_DESCR(PyArray_Descr *dtype)
------------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:3343: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 29]
NPY_BEGIN_THREADS_THRESHOLDED(int loop_size)
-----------------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name, got keyword: int [error at 33]
NPY_BEGIN_THREADS_THRESHOLDED(int loop_size)
---------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:3383: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_PRIORITY
------------^
repos/numpy/doc/source/reference/c-api/array.rst:3387: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 20]
NPY_SUBTYPE_PRIORITY
--------------------^
repos/numpy/doc/source/reference/c-api/array.rst:3391: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_SCALAR_PRIORITY
-------------------^
repos/numpy/doc/source/reference/c-api/array.rst:3406: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_BUFSIZE
-----------^
repos/numpy/doc/source/reference/c-api/array.rst:3410: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_MIN_BUFSIZE
---------------^
repos/numpy/doc/source/reference/c-api/array.rst:3414: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_MAX_BUFSIZE
---------------^
repos/numpy/doc/source/reference/c-api/array.rst:3422: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_NUM_FLOATTYPE
-----------------^
repos/numpy/doc/source/reference/c-api/array.rst:3426: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_MAXDIMS
-----------^
repos/numpy/doc/source/reference/c-api/array.rst:3430: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_MAXARGS
-----------^
repos/numpy/doc/source/reference/c-api/array.rst:3434: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_VERSION
-----------^
repos/numpy/doc/source/reference/c-api/array.rst:3440: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_FALSE
---------^
repos/numpy/doc/source/reference/c-api/array.rst:3444: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_TRUE
--------^
repos/numpy/doc/source/reference/c-api/array.rst:3448: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_FAIL
--------^
repos/numpy/doc/source/reference/c-api/array.rst:3453: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_SUCCEED
-----------^
repos/numpy/doc/source/reference/c-api/array.rst:3462: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyArray_SAMESHAPE(PyArrayObject *a1, PyArrayObject *a2)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 32]
PyArray_SAMESHAPE(PyArrayObject *a1, PyArrayObject *a2)
--------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:3466: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 1]
a
-^
repos/numpy/doc/source/reference/c-api/array.rst:3468: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 1]
b
-^
repos/numpy/doc/source/reference/c-api/array.rst:3497: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyArray_REFCOUNT(PyObject* op)
----------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 25]
PyArray_REFCOUNT(PyObject
op)
-------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:3501: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 30]
PyArray_DiscardWritebackIfCopy(PyObject* obj)
------------------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 39]
PyArray_DiscardWritebackIfCopy(PyObject
obj)
---------------------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:3512: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyArray_XDECREF_ERR(PyObject* obj)
-------------------^
If parenthesis in noptr-declarator (e.g., 'void (f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 28]
PyArray_XDECREF_ERR(PyObject
obj)
----------------------------^

repos/numpy/doc/source/reference/c-api/array.rst:3533: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_QUICKSORT
-------------^
repos/numpy/doc/source/reference/c-api/array.rst:3535: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_HEAPSORT
------------^
repos/numpy/doc/source/reference/c-api/array.rst:3537: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_MERGESORT
-------------^
repos/numpy/doc/source/reference/c-api/array.rst:3539: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_STABLESORT
--------------^
repos/numpy/doc/source/reference/c-api/array.rst:3543: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_NSORTS
----------^
repos/numpy/doc/source/reference/c-api/array.rst:3557: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_NOSCALAR
------------^
repos/numpy/doc/source/reference/c-api/array.rst:3559: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_BOOL_SCALAR
---------------^
repos/numpy/doc/source/reference/c-api/array.rst:3561: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_INTPOS_SCALAR
-----------------^
repos/numpy/doc/source/reference/c-api/array.rst:3563: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_INTNEG_SCALAR
-----------------^
repos/numpy/doc/source/reference/c-api/array.rst:3565: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_FLOAT_SCALAR
----------------^
repos/numpy/doc/source/reference/c-api/array.rst:3567: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 18]
NPY_COMPLEX_SCALAR
------------------^
repos/numpy/doc/source/reference/c-api/array.rst:3569: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_OBJECT_SCALAR
-----------------^
repos/numpy/doc/source/reference/c-api/array.rst:3571: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_NSCALARKINDS
----------------^
repos/numpy/doc/source/reference/c-api/array.rst:3583: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_ANYORDER
------------^
repos/numpy/doc/source/reference/c-api/array.rst:3587: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_CORDER
----------^
repos/numpy/doc/source/reference/c-api/array.rst:3591: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_FORTRANORDER
----------------^
repos/numpy/doc/source/reference/c-api/array.rst:3595: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_KEEPORDER
-------------^
repos/numpy/doc/source/reference/c-api/array.rst:3605: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_RAISE
---------^
repos/numpy/doc/source/reference/c-api/array.rst:3610: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_CLIP
--------^
repos/numpy/doc/source/reference/c-api/array.rst:3614: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_WRAP
--------^
repos/numpy/doc/source/reference/c-api/array.rst:3626: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_NO_CASTING
--------------^
repos/numpy/doc/source/reference/c-api/array.rst:3630: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_EQUIV_CASTING
-----------------^
repos/numpy/doc/source/reference/c-api/array.rst:3634: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_SAFE_CASTING
----------------^
repos/numpy/doc/source/reference/c-api/array.rst:3639: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 21]
NPY_SAME_KIND_CASTING
---------------------^
repos/numpy/doc/source/reference/c-api/array.rst:3644: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 18]
NPY_UNSAFE_CASTING
------------------^
repos/numpy/doc/source/reference/c-api/config.rst:25: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_SIZEOF_SHORT
----------------^
repos/numpy/doc/source/reference/c-api/config.rst:29: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_SIZEOF_INT
--------------^
repos/numpy/doc/source/reference/c-api/config.rst:33: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_SIZEOF_LONG
---------------^
repos/numpy/doc/source/reference/c-api/config.rst:37: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_SIZEOF_LONGLONG
-------------------^
repos/numpy/doc/source/reference/c-api/config.rst:42: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 23]
NPY_SIZEOF_PY_LONG_LONG
-----------------------^
repos/numpy/doc/source/reference/c-api/config.rst:45: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_SIZEOF_FLOAT
----------------^
repos/numpy/doc/source/reference/c-api/config.rst:49: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_SIZEOF_DOUBLE
-----------------^
repos/numpy/doc/source/reference/c-api/config.rst:53: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
NPY_SIZEOF_LONG_DOUBLE
----------------------^
repos/numpy/doc/source/reference/c-api/config.rst:57: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
NPY_SIZEOF_PY_INTPTR_T
----------------------^
repos/numpy/doc/source/reference/c-api/config.rst:66: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_CPU_X86
-----------^
repos/numpy/doc/source/reference/c-api/config.rst:67: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_CPU_AMD64
-------------^
repos/numpy/doc/source/reference/c-api/config.rst:68: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_CPU_IA64
------------^
repos/numpy/doc/source/reference/c-api/config.rst:69: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_CPU_PPC
-----------^
repos/numpy/doc/source/reference/c-api/config.rst:70: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_CPU_PPC64
-------------^
repos/numpy/doc/source/reference/c-api/config.rst:71: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_CPU_SPARC
-------------^
repos/numpy/doc/source/reference/c-api/config.rst:72: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_CPU_SPARC64
---------------^
repos/numpy/doc/source/reference/c-api/config.rst:73: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_CPU_S390
------------^
repos/numpy/doc/source/reference/c-api/config.rst:74: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_CPU_PARISC
--------------^
repos/numpy/doc/source/reference/c-api/config.rst:83: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_LITTLE_ENDIAN
-----------------^
repos/numpy/doc/source/reference/c-api/config.rst:85: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_BIG_ENDIAN
--------------^
repos/numpy/doc/source/reference/c-api/config.rst:87: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_BYTE_ORDER
--------------^
repos/numpy/doc/source/reference/c-api/config.rst:97: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 21]
PyArray_GetEndianness()
---------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
PyArray_GetEndianness()
----------------------^

repos/numpy/doc/source/reference/c-api/config.rst:109: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_LIKELY
----------^
repos/numpy/doc/source/reference/c-api/config.rst:110: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_UNLIKELY
------------^
repos/numpy/doc/source/reference/c-api/config.rst:111: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_UNUSED
----------^
repos/numpy/doc/source/reference/c-api/config.rst:117: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_INTERRUPT_H
---------------^
repos/numpy/doc/source/reference/c-api/config.rst:118: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_SIGSETJMP
-------------^
repos/numpy/doc/source/reference/c-api/config.rst:119: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_SIGLONGJMP
--------------^
repos/numpy/doc/source/reference/c-api/config.rst:120: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_SIGJMP_BUF
--------------^
repos/numpy/doc/source/reference/c-api/config.rst:121: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_SIGINT_ON
-------------^
repos/numpy/doc/source/reference/c-api/config.rst:122: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_SIGINT_OFF
--------------^
repos/numpy/doc/source/reference/c-api/coremath.rst:27: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 7]
NPY_NAN
-------^
repos/numpy/doc/source/reference/c-api/coremath.rst:33: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_INFINITY
------------^
repos/numpy/doc/source/reference/c-api/coremath.rst:38: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_PZERO
---------^
repos/numpy/doc/source/reference/c-api/coremath.rst:43: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_NZERO
---------^
repos/numpy/doc/source/reference/c-api/coremath.rst:87: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 5]
NPY_E
-----^
repos/numpy/doc/source/reference/c-api/coremath.rst:91: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_LOG2E
---------^
repos/numpy/doc/source/reference/c-api/coremath.rst:95: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_LOG10E
----------^
repos/numpy/doc/source/reference/c-api/coremath.rst:99: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_LOGE2
---------^
repos/numpy/doc/source/reference/c-api/coremath.rst:103: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_LOGE10
----------^
repos/numpy/doc/source/reference/c-api/coremath.rst:107: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 6]
NPY_PI
------^
repos/numpy/doc/source/reference/c-api/coremath.rst:111: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_PI_2
--------^
repos/numpy/doc/source/reference/c-api/coremath.rst:115: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_PI_4
--------^
repos/numpy/doc/source/reference/c-api/coremath.rst:119: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_1_PI
--------^
repos/numpy/doc/source/reference/c-api/coremath.rst:123: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_2_PI
--------^
repos/numpy/doc/source/reference/c-api/coremath.rst:127: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_EULER
---------^
repos/numpy/doc/source/reference/c-api/coremath.rst:311: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_HALF_ZERO
-------------^
repos/numpy/doc/source/reference/c-api/coremath.rst:315: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_HALF_PZERO
--------------^
repos/numpy/doc/source/reference/c-api/coremath.rst:319: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_HALF_NZERO
--------------^
repos/numpy/doc/source/reference/c-api/coremath.rst:323: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_HALF_ONE
------------^
repos/numpy/doc/source/reference/c-api/coremath.rst:327: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_HALF_NEGONE
---------------^
repos/numpy/doc/source/reference/c-api/coremath.rst:331: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_HALF_PINF
-------------^
repos/numpy/doc/source/reference/c-api/coremath.rst:335: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_HALF_NINF
-------------^
repos/numpy/doc/source/reference/c-api/coremath.rst:339: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_HALF_NAN
------------^
repos/numpy/doc/source/reference/c-api/dtype.rst:28: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_TYPES
---------^
repos/numpy/doc/source/reference/c-api/dtype.rst:35: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_BOOL
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:40: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_BYTE
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:41: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_INT8
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:45: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_SHORT
---------^
repos/numpy/doc/source/reference/c-api/dtype.rst:46: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_INT16
---------^
repos/numpy/doc/source/reference/c-api/dtype.rst:50: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 7]
NPY_INT
-------^
repos/numpy/doc/source/reference/c-api/dtype.rst:51: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_INT32
---------^
repos/numpy/doc/source/reference/c-api/dtype.rst:55: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_LONG
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:60: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_LONGLONG
------------^
repos/numpy/doc/source/reference/c-api/dtype.rst:61: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_INT64
---------^
repos/numpy/doc/source/reference/c-api/dtype.rst:65: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_UBYTE
---------^
repos/numpy/doc/source/reference/c-api/dtype.rst:66: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_UINT8
---------^
repos/numpy/doc/source/reference/c-api/dtype.rst:70: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_USHORT
----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:71: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_UINT16
----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:75: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_UINT
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:76: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_UINT32
----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:80: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_ULONG
---------^
repos/numpy/doc/source/reference/c-api/dtype.rst:85: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_ULONGLONG
-------------^
repos/numpy/doc/source/reference/c-api/dtype.rst:86: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_UINT64
----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:90: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_HALF
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:91: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_FLOAT16
-----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:96: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_FLOAT
---------^
repos/numpy/doc/source/reference/c-api/dtype.rst:97: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_FLOAT32
-----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:102: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_DOUBLE
----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:103: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_FLOAT64
-----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:108: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_LONGDOUBLE
--------------^
repos/numpy/doc/source/reference/c-api/dtype.rst:113: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_CFLOAT
----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:114: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_COMPLEX64
-------------^
repos/numpy/doc/source/reference/c-api/dtype.rst:119: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_CDOUBLE
-----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:120: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_COMPLEX128
--------------^
repos/numpy/doc/source/reference/c-api/dtype.rst:125: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_CLONGDOUBLE
---------------^
repos/numpy/doc/source/reference/c-api/dtype.rst:130: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_DATETIME
------------^
repos/numpy/doc/source/reference/c-api/dtype.rst:135: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_TIMEDELTA
-------------^
repos/numpy/doc/source/reference/c-api/dtype.rst:140: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_STRING
----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:145: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_UNICODE
-----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:150: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_OBJECT
----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:154: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_VOID
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:161: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_INTP
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:167: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 9]
NPY_UINTP
---------^
repos/numpy/doc/source/reference/c-api/dtype.rst:172: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_MASK
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:178: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_DEFAULT_TYPE
----------------^
repos/numpy/doc/source/reference/c-api/dtype.rst:186: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_NTYPES
----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:191: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
NPY_NOTYPE
----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:195: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_USERDEF
-----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:224: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_MAX_INT{bits}
-----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:226: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_MAX_UINT{bits}
------------^
repos/numpy/doc/source/reference/c-api/dtype.rst:228: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
NPY_MIN_INT{bits}
-----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:235: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_MIN_{type}
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:240: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
NPY_MAX_{type}
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:307: WARNING: Invalid C declaration: Expected end of definition. [error at 7]
npy_(u)byte
-------^
repos/numpy/doc/source/reference/c-api/dtype.rst:351: WARNING: Invalid C declaration: Expected end of definition. [error at 7]
npy_(u)long
-------^
repos/numpy/doc/source/reference/c-api/dtype.rst:355: WARNING: Invalid C declaration: Expected end of definition. [error at 7]
npy_(u)longlong
-------^
repos/numpy/doc/source/reference/c-api/dtype.rst:377: WARNING: Invalid C declaration: Expected end of definition. [error at 7]
npy_(c)float
-------^
repos/numpy/doc/source/reference/c-api/dtype.rst:381: WARNING: Invalid C declaration: Expected end of definition. [error at 7]
npy_(c)double
-------^
repos/numpy/doc/source/reference/c-api/dtype.rst:385: WARNING: Invalid C declaration: Expected end of definition. [error at 7]
npy_(c)longdouble
-------^
repos/numpy/doc/source/reference/c-api/iterator.rst:316: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_ITER_C_INDEX
----------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:321: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_ITER_F_INDEX
----------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:326: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 20]
NPY_ITER_MULTI_INDEX
--------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:339: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
NPY_ITER_EXTERNAL_LOOP
----------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:347: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 28]
NPY_ITER_DONT_NEGATE_STRIDES
----------------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:358: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 21]
NPY_ITER_COMMON_DTYPE
---------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:367: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_ITER_REFS_OK
----------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:376: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 20]
NPY_ITER_ZEROSIZE_OK
--------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:384: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 18]
NPY_ITER_REDUCE_OK
------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:403: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_ITER_RANGED
---------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:417: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_ITER_BUFFERED
-----------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:444: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 18]
NPY_ITER_GROWINNER
------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:452: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 23]
NPY_ITER_DELAY_BUFALLOC
-----------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:468: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 24]
NPY_ITER_COPY_IF_OVERLAP
------------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:487: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 18]
NPY_ITER_READWRITE
------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:488: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_ITER_READONLY
-----------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:489: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 18]
NPY_ITER_WRITEONLY
------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:498: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 13]
NPY_ITER_COPY
-------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:504: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 21]
NPY_ITER_UPDATEIFCOPY
---------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:516: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
NPY_ITER_NBO
------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:517: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
NPY_ITER_ALIGNED
----------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:518: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_ITER_CONTIG
---------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:537: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_ITER_ALLOCATE
-----------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:560: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_ITER_NO_SUBTYPE
-------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:569: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 21]
NPY_ITER_NO_BROADCAST
---------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:574: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 18]
NPY_ITER_ARRAYMASK
------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:598: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 20]
NPY_ITER_WRITEMASKED
--------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:616: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 35]
NPY_ITER_OVERLAP_ASSUME_ELEMENTWISE
-----------------------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:710: WARNING: Invalid C declaration: Expected end of definition. [error at 47]
int NpyIter_RemoveAxis(NpyIter* iter, int axis)``
-----------------------------------------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:64: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
PyArray_Type
------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:179: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyArrayDescr_Type
-----------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:264: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
NPY_ITEM_REFCOUNT
-----------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:269: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 18]
NPY_ITEM_HASOBJECT
------------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:273: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_LIST_PICKLE
---------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:278: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
NPY_ITEM_IS_POINTER
-------------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:282: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
NPY_NEEDS_INIT
--------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:287: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_NEEDS_PYAPI
---------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:293: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_USE_GETITEM
---------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:300: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_USE_SETITEM
---------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:307: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NPY_FROM_FIELDS
---------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:314: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
NPY_OBJECT_DTYPE_FLAGS
----------------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:321: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 18]
PyDataType_FLAGCHK(PyArray_Descr *dtype, int flags)
------------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 33]
PyDataType_FLAGCHK(PyArray_Descr *dtype, int flags)
---------------------------------^

repos/numpy/doc/source/reference/c-api/types-and-structures.rst:326: WARNING: Error in declarator
If declarator-id with parameters (e.g., 'void f(int arg)'):
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyDataType_REFCHK(PyArray_Descr *dtype)
-----------------^
If parenthesis in noptr-declarator (e.g., 'void (*f(int arg))(double)'):
Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 32]
PyDataType_REFCHK(PyArray_Descr *dtype)
--------------------------------^

repos/numpy/doc/source/reference/c-api/types-and-structures.rst:732: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
PyUFunc_Type
------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:971: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyArrayIter_Type
----------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:1081: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 21]
PyArrayMultiIter_Type
---------------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:1143: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 28]
PyArrayNeighborhoodIter_Type
----------------------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:1182: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 17]
PyArrayFlags_Type
-----------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:1431: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 19]
PyArrayMapIter_Type
-------------------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:13: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 10]
UFUNC_ERR_{HANDLER}
----------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:17: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 6]
UFUNC_{THING}{ERR}
------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:22: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 8]
PyUFunc
{VALUE}
--------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:24: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 11]
PyUFunc_One
-----------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:26: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
PyUFunc_Zero
------------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:28: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 16]
PyUFunc_MinusOne
----------------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:30: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 23]
PyUFunc_ReorderableNone
-----------------------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:32: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 12]
PyUFunc_None
------------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:34: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 21]
PyUFunc_IdentityValue
---------------------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:79: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 14]
void loopfunc(
--------------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:79: WARNING: Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 11]
char** args, npy_intp const *dimensions, npy_intp const steps, void data)
-----------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:462: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 22]
PY_UFUNC_UNIQUE_SYMBOL
----------------------^
repos/numpy/doc/source/reference/c-api/ufunc.rst:464: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 15]
NO_IMPORT_UFUNC
---------------^
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 0%] about
writing output... [ 0%] benchmarking

...

writing output... [ 99%] user/tutorials_index
writing output... [100%] user/whatisnumpy

repos/numpy/doc/source/reference/c-api/array.rst:23: WARNING: Unparseable C cross-reference: 'PyArrayObject '
Invalid C declaration: Expected end of definition. [error at 14]
PyArrayObject *
--------------^
repos/numpy/doc/source/reference/c-api/array.rst:821: WARNING: Unparseable C cross-reference: 'Py{cls}ArrType_Type'
Invalid C declaration: Expected end of definition. [error at 2]
Py{cls}ArrType_Type
--^
repos/numpy/doc/source/reference/c-api/array.rst:856: WARNING: Unparseable C cross-reference: 'PyArrayObject '
Invalid C declaration: Expected end of definition. [error at 14]
PyArrayObject *
--------------^
repos/numpy/doc/source/reference/c-api/array.rst:1335: WARNING: Unparseable C cross-reference: 'PyArray_SetWritebackIfCopyBase' Invalid C declaration: Expected end of definition. [error at 30] PyArray_SetWritebackIfCopyBase
------------------------------^
repos/numpy/doc/source/reference/c-api/array.rst:2779: WARNING: Unparseable C cross-reference: 'PyArray_Descr '
Invalid C declaration: Expected end of definition. [error at 14]
PyArray_Descr *
--------------^
repos/numpy/doc/source/reference/c-api/array.rst:2789: WARNING: Unparseable C cross-reference: 'PyArray_Descr '
Invalid C declaration: Expected end of definition. [error at 14]
PyArray_Descr *
--------------^
repos/numpy/doc/source/reference/c-api/array.rst:3114: WARNING: Unparseable C cross-reference: 'static void
'
Invalid C declaration: Expected identifier in nested name, got keyword: static [error at 6]
static void

------^
repos/numpy/doc/source/reference/c-api/array.rst:3117: WARNING: Unparseable C cross-reference: 'void**'
Invalid C declaration: Expected identifier in nested name, got keyword: void [error at 4]
void**
----^
repos/numpy/doc/source/reference/c-api/array.rst:3121: WARNING: Unparseable C cross-reference: 'extern void**'
Invalid C declaration: Expected identifier in nested name, got keyword: extern [error at 6]
extern void**
------^
repos/numpy/doc/source/reference/c-api/config.rst:22: WARNING: Unparseable C cross-reference: 'NPY_SIZEOF_{CTYPE}'
Invalid C declaration: Expected end of definition. [error at 11]
NPY_SIZEOF_{CTYPE}
-----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:30: WARNING: Unparseable C cross-reference: 'NPY_{NAME}'
Invalid C declaration: Expected end of definition. [error at 4]
NPY_{NAME}
----^
repos/numpy/doc/source/reference/c-api/dtype.rst:199: WARNING: Unparseable C cross-reference: 'NPY_{NAME}LTR'
Invalid C declaration: Expected end of definition. [error at 4]
NPY_{NAME}LTR
----^
repos/numpy/doc/source/reference/c-api/dtype.rst:250: WARNING: Unparseable C cross-reference: 'NPY_SIZEOF_{CTYPE}'
Invalid C declaration: Expected end of definition. [error at 11]
NPY_SIZEOF_{CTYPE}
-----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:250: WARNING: Unparseable C cross-reference: 'NPY_BITSOF_{CTYPE}'
Invalid C declaration: Expected end of definition. [error at 11]
NPY_BITSOF_{CTYPE}
-----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:250: WARNING: Unparseable C cross-reference: 'NPY_BITSOF_{CTYPE}'
Invalid C declaration: Expected end of definition. [error at 11]
NPY_BITSOF_{CTYPE}
-----------^
repos/numpy/doc/source/reference/c-api/dtype.rst:262: WARNING: Unparseable C cross-reference: 'PyArray_{NAME}{BITS}'
Invalid C declaration: Expected end of definition. [error at 8]
PyArray_{NAME}{BITS}
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:400: WARNING: Unparseable C cross-reference: 'npy_int{bits}'
Invalid C declaration: Expected end of definition. [error at 7]
npy_int{bits}
-------^
repos/numpy/doc/source/reference/c-api/dtype.rst:400: WARNING: Unparseable C cross-reference: 'npy_uint{bits}'
Invalid C declaration: Expected end of definition. [error at 8]
npy_uint{bits}
--------^
repos/numpy/doc/source/reference/c-api/dtype.rst:400: WARNING: Unparseable C cross-reference: 'npy_float{bits}'
Invalid C declaration: Expected end of definition. [error at 9]
npy_float{bits}
---------^
repos/numpy/doc/source/reference/c-api/dtype.rst:400: WARNING: Unparseable C cross-reference: 'npy_complex{bits}'
Invalid C declaration: Expected end of definition. [error at 11]
npy_complex{bits}
-----------^
repos/numpy/doc/source/reference/c-api/iterator.rst:369: WARNING: Unparseable C cross-reference: 'NpyIter_IterationNeedsAPI(iter)'
Invalid C declaration: Expected end of definition. [error at 25]
NpyIter_IterationNeedsAPI(iter)
-------------------------^
repos/numpy/doc/source/reference/c-api/iterator.rst:741: WARNING: Unparseable C cross-reference: 'NpyIter_HasMultiIndex(iter)'
Invalid C declaration: Expected end of definition. [error at 21]
NpyIter_HasMultiIndex(iter)
---------------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:29: WARNING: Unparseable C cross-reference: 'Py{Name}Object'
Invalid C declaration: Expected end of definition. [error at 2]
Py{Name}Object
--^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:613: WARNING: Unparseable C cross-reference: 'PyCObject *'
Invalid C declaration: Expected end of definition. [error at 10]
PyCObject *
----------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:1069: WARNING: Unparseable C cross-reference: 'PyArrayIterObject *'
Invalid C declaration: Expected end of definition. [error at 18]
PyArrayIterObject *
------------------^
repos/numpy/doc/source/reference/c-api/types-and-structures.rst:1204: WARNING: Unparseable C cross-reference: 'Py{TYPE}ArrType_Type'
Invalid C declaration: Expected end of definition. [error at 2]
Py{TYPE}ArrType_Type
--^
repos/numpy/doc/source/reference/c-api/ufunc.rst:271: WARNING: Unparseable C cross-reference: 'UFUNC_MASK_{ERR}'
Invalid C declaration: Expected end of definition. [error at 11]
UFUNC_MASK_{ERR}
-----------^
DISTUTILS.rst.txt:381: WARNING: Unparseable C cross-reference: '@'
Invalid C declaration: Expected identifier in nested name. [error at 0]
@
^
DISTUTILS.rst.txt:386: WARNING: Unparseable C cross-reference: '/**begin repeat'
Invalid C declaration: Expected identifier in nested name. [error at 0]
/**begin repeat
^
DISTUTILS.rst.txt:386: WARNING: Unparseable C cross-reference: '/end repeat/'
Invalid C declaration: Expected identifier in nested name. [error at 0]
/end repeat/
^
DISTUTILS.rst.txt:386: WARNING: Unparseable C cross-reference: '/**begin repeat1'
Invalid C declaration: Expected identifier in nested name. [error at 0]
/**begin repeat1
^
DISTUTILS.rst.txt:386: WARNING: Unparseable C cross-reference: '/end repeat1/'
Invalid C declaration: Expected identifier in nested name. [error at 0]
/end repeat1/
^
repos/numpy/doc/source/user/c-info.beyond-basics.rst:162: WARNING: Unparseable C cross-reference: 'PyArrayMultiObject *'
Invalid C declaration: Expected end of definition. [error at 19]
PyArrayMultiObject *
-------------------^
repos/numpy/doc/source/user/c-info.beyond-basics.rst:396: WARNING: Unparseable C cross-reference: 'PyArrayObject *'
Invalid C declaration: Expected end of definition. [error at 14]
PyArrayObject *
--------------^
repos/numpy/doc/source/user/c-info.how-to-extend.rst:161: WARNING: Unparseable C cross-reference: 'PyArray_Descr *'
Invalid C declaration: Expected end of definition. [error at 14]
PyArray_Descr *
--------------^
repos/numpy/doc/source/user/c-info.how-to-extend.rst:191: WARNING: Unparseable C cross-reference: 'PyArray_Descr *'
Invalid C declaration: Expected end of definition. [error at 14]
PyArray_Descr *
--------------^
repos/numpy/doc/source/user/c-info.how-to-extend.rst:523: WARNING: Unparseable C cross-reference: 'PyArrayObject *'
Invalid C declaration: Expected end of definition. [error at 14]
PyArrayObject *
--------------^
generating indices... genindexdone
writing additional pages... index searchdone
copying images... [ 0%] dev/pull_button.png
copying images... [ 1%] dev/gitwash/forking_button.png

...

copying images... [ 99%] user/../../build/plot_directive/user/plot_reconstructed.png
copying images... [100%] user/../../build/plot_directive/user/plot_final.png

copying static files... ... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build finished with problems, 384 warnings.
make: *** [Makefile:179: html-build] Error 1

There is some related discussion at sphinx-doc/sphinx#7457 on how sphinx 3.0 changes have affected other projects with C-code.

@sandrotosi
Copy link
Contributor

This is now impacting the Debian build, since we just introduced sphinx/3.2.1

For now i'm gonna work around it by removing the -W switch from sphinx-build but it would be good to have proper support for sphinx 3 in numpy

@mattip
Copy link
Member

mattip commented Sep 16, 2020

Sphinx3 came out only in April 2020. PR gh-16370 has made some progress, more work is needed.

@waveform80
Copy link

I've just finished a fairly large patch-set for the Ubuntu package which fixed all the warnings for 1.18.4; some of the patches were based on this work from upstream but obviously I needed a bit of tinkering to get them to apply to our down-level version, and there's a few novel fixes which I'll try and turn into PRs for this in a bit (just ploughing through another re-base to see which bits I've got which you haven't).

@sandrotosi
Copy link
Contributor

@waveform80 ubuntu should update to a latest version of numpy, debian has 1.19.2 already

@waveform80
Copy link

I've no doubt that'll happen next cycle, but the only "fix" there currently is the removal of the -W switch which results in a whole pile of broken links in the docs (unsurprisingly). My preferred option would've been to fix the docs upstream and back-port the patches, but there simply wasn't time with groovy's release imminent. I thought fixing them in our existing 1.18 version might be marginally faster than sync to 1.19 and fixing them there - no idea if I was right or not, but it's done now.

Anyway, hopefully we can help get all this patched cleanly (ish :) and everything'll flow down from there.

@waveform80
Copy link

After working through the current patch-set, it looks like the only truly novel fix I've got is the one for the import warnings; I've left a comment with my variant of that in case it's of any use. Everything else looks like a nice clean build! Looking forward to sync'ing this at some future point and ditching all my patches :)

@mattip
Copy link
Member

mattip commented Dec 28, 2020

Closing, we are successfully using Sphinx>3. Please reopen or open a new issue if I missed something.

@mattip mattip closed this as completed Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants