building on arm64 Ubuntu 22.04 gives thousands of warnings
- Lenguaje dominante
- Python
- Estrellas
- 1.4k
- Forks
- 191
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Building on arm64 ubuntu 22.04 gives thousands of warnings. Far too many to list here, but as an example:
```
/tmp/tmp.gBSBQdyNGN/Python-3.6.1/Objects/bytesobject.c:2481:5: note: in expansion of macro ‘BYTES_RSPLIT_METHODDEF’
2481 | BYTES_RSPLIT_METHODDEF
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/tmp.gBSBQdyNGN/Python-3.6.1/Objects/clinic/bytesobject.c.h:20:15: warning: cast between incompatible function types from ‘PyObject * (*)(PyBytesObject *, PyObject **, Py_ssize_t, PyObject *)’ {aka ‘struct _object * (*)(PyBytesObject *, struct _object **, long int, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type]
20 | {"split", (PyCFunction)bytes_split, METH_FASTCALL, bytes_split__doc__},
```
```
/tmp/tmp.gBSBQdyNGN/Python-3.6.1/Objects/stringlib/codecs.h:332:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
332 | p += (endpos - startpos);
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Reproduce el build en arm64 Ubuntu 22.04 y captura el conjunto de advertencias. Empieza con los ejemplos de Objects/bytesobject.c, Objects/clinic/bytesobject.c.h y Objects/stringlib/codecs.h; después determina si las advertencias son esperadas o indican problemas de build. Se considera terminado cuando se comprende el comportamiento de las advertencias y se verifica una corrección adecuada o una limitación documentada.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- build-system, operating-systems
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100