dbcli / dbcli/mssql-cli

building on arm64 Ubuntu 22.04 gives thousands of warnings

Open
#564 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
191
PR merge metrics
No merged PRs in 30d

Description

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);
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.