Message395889
As a test, gcc and clang both seem happy to treat this as valid C. I think Sphinx is wrong to reject this.
mdickinson@mirzakhani Desktop % cat test.c
typedef struct {
double real;
double imag;
} Py_complex;
Py_complex _Py_c_neg(Py_complex complex);
mdickinson@mirzakhani Desktop % gcc -Wall -Wextra -std=c17 -c test.c
mdickinson@mirzakhani Desktop % clang -Wall -Wextra -std=c17 -c test.c
mdickinson@mirzakhani Desktop % |
|
Date |
User |
Action |
Args |
2021-06-15 18:14:40 | mark.dickinson | set | recipients:
+ mark.dickinson, docs@python, ksurma |
2021-06-15 18:14:40 | mark.dickinson | set | messageid: <1623780880.75.0.47352477206.issue44426@roundup.psfhosted.org> |
2021-06-15 18:14:40 | mark.dickinson | link | issue44426 messages |
2021-06-15 18:14:40 | mark.dickinson | create | |
|