Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mcepl:branches:devel:languages:python:Factory
python36
PTHREAD_SCOPE_SYSTEM-int-warning.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PTHREAD_SCOPE_SYSTEM-int-warning.patch of Package python36
From bda021f247e338f44df3cb2d2b83bd70a9d5ee0d Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" <erlend.aasland@protonmail.com> Date: Sun, 6 Nov 2022 22:39:34 +0100 Subject: [PATCH] fix implicit int compiler warning in configure check for PTHREAD_SCOPE_SYSTEM Code is from gh#python/cpython!99085 (released upstream in 3.10.9) Co-authored-by: Sam James <sam@cmpct.info> Fixes: gh#python/cpython#99086 Patch: PTHREAD_SCOPE_SYSTEM-int-warning.patch --- .../next/Build/2022-11-04-02-58-10.gh-issue-99086.DV_4Br.rst | 1 + configure | 2 +- configure.ac | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 Misc/NEWS.d/next/Build/2022-11-04-02-58-10.gh-issue-99086.DV_4Br.rst diff --git a/Misc/NEWS.d/next/Build/2022-11-04-02-58-10.gh-issue-99086.DV_4Br.rst b/Misc/NEWS.d/next/Build/2022-11-04-02-58-10.gh-issue-99086.DV_4Br.rst new file mode 100644 index 00000000000..e320ecfdfbb --- /dev/null +++ b/Misc/NEWS.d/next/Build/2022-11-04-02-58-10.gh-issue-99086.DV_4Br.rst @@ -0,0 +1 @@ +Fix ``-Wimplicit-int`` compiler warning in :program:`configure` check for ``PTHREAD_SCOPE_SYSTEM``. diff --git a/configure b/configure index 849d09cd4a4..2777e1d3e23 100755 --- a/configure +++ b/configure @@ -10877,7 +10877,7 @@ else void *foo(void *parm) { return NULL; } - main() { + int main() { pthread_attr_t attr; pthread_t id; if (pthread_attr_init(&attr)) exit(-1); diff --git a/configure.ac b/configure.ac index 1ab01bff88b..b1b14c8264d 100644 --- a/configure.ac +++ b/configure.ac @@ -3213,7 +3213,7 @@ if test "$posix_threads" = "yes"; then void *foo(void *parm) { return NULL; } - main() { + int main() { pthread_attr_t attr; pthread_t id; if (pthread_attr_init(&attr)) exit(-1); -- 2.46.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor