Skip to content
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

building on arm64 Ubuntu 22.04 gives thousands of warnings #564

Open
scott-doyland-burrows opened this issue Sep 13, 2023 · 0 comments
Open

Comments

@scott-doyland-burrows
Copy link

scott-doyland-burrows commented Sep 13, 2023

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);
@scott-doyland-burrows scott-doyland-burrows changed the title building on arm64 ubuntu 22.04 gives thousands of warnings building on arm64 Ubuntu 22.04 gives thousands of warnings Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant