Title: Unused function warnings during mimalloc build on FREEBSD · Issue #111906 · python/cpython · GitHub
Open Graph Title: Unused function warnings during mimalloc build on FREEBSD · Issue #111906 · python/cpython
X Title: Unused function warnings during mimalloc build on FREEBSD · Issue #111906 · python/cpython
Description: Bug report Bug description: cc -pthread -c -fno-strict-overflow -Wsign-compare -g -Og -Wall -O2 -pipe -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisi...
Open Graph Description: Bug report Bug description: cc -pthread -c -fno-strict-overflow -Wsign-compare -g -Og -Wall -O2 -pipe -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Wer...
X Description: Bug report Bug description: cc -pthread -c -fno-strict-overflow -Wsign-compare -g -Og -Wall -O2 -pipe -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Wer...
Opengraph URL: https://github.com/python/cpython/issues/111906
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unused function warnings during mimalloc build on FREEBSD","articleBody":"# Bug report\n\n### Bug description:\n\n```c\ncc -pthread -c -fno-strict-overflow -Wsign-compare -g -Og -Wall -O2 -pipe -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -DPy_BUILD_CORE -o Objects/rangeobject.o Objects/rangeobject.c\n--- Objects/obmalloc.o ---\nIn file included from Objects/obmalloc.c:15:\nIn file included from Objects/mimalloc/static.c:37:\nIn file included from Objects/mimalloc/prim/prim.c:22:\nObjects/mimalloc/prim/unix/prim.c:66:12: warning: unused function 'mi_prim_open' [-Wunused-function]\nstatic int mi_prim_open(const char* fpath, int open_flags) {\n ^\nObjects/mimalloc/prim/unix/prim.c:69:16: warning: unused function 'mi_prim_read' [-Wunused-function]\nstatic ssize_t mi_prim_read(int fd, void* buf, size_t bufsize) {\n ^\nObjects/mimalloc/prim/unix/prim.c:72:12: warning: unused function 'mi_prim_close' [-Wunused-function]\nstatic int mi_prim_close(int fd) {\n ^\nObjects/mimalloc/prim/unix/prim.c:75:12: warning: unused function 'mi_prim_access' [-Wunused-function]\nstatic int mi_prim_access(const char *fpath, int mode) {\n ^\n--- Objects/setobject.o ---\n\n```\n\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nOther\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-111907\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/furkanonder","@type":"Person","name":"furkanonder"},"datePublished":"2023-11-09T18:37:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/111906/cpython/issues/111906"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ad79c07b-e389-3e6a-9679-149b182787f4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E706:D78EE:419B18:5A4165:696528B9 |
| html-safe-nonce | 888442c3e1aa5b39408450fda20b13a5909a306db3bfb66173bb3bfc4aad7ff1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzA2OkQ3OEVFOjQxOUIxODo1QTQxNjU6Njk2NTI4QjkiLCJ2aXNpdG9yX2lkIjoiMTA3NTIyODI0Mzk2NDE3MjA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9b3095353a07d5a7f4cd7f6ad77b60a50322d0e4dccb6a5528b70264783ef6bf |
| hovercard-subject-tag | issue:1986197253 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/111906/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e923250b67addf4eb5dbff7e465f1d5be05916d8dff9e0e771edbeba873ad339/python/cpython/issues/111906 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e923250b67addf4eb5dbff7e465f1d5be05916d8dff9e0e771edbeba873ad339/python/cpython/issues/111906 |
| og:image:alt | Bug report Bug description: cc -pthread -c -fno-strict-overflow -Wsign-compare -g -Og -Wall -O2 -pipe -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Wer... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | furkanonder |
| hostname | github.com |
| expected-hostname | github.com |
| None | 817276b8a3521a687e743b852e21b1c4c62a9fabf649a41d85c1499aaa39fab1 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a4c6d32d56fbcafaf5646e244c8989317f135a9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width