This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bruno.dupuis
Recipients bruno.dupuis
Date 2012-12-01.02:41:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354329698.56.0.368664055406.issue16588@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like #10951, but for another version of gcc.

I get these warnings:

 In file included from Python/thread.c:86:0:
 Python/thread_pthread.h: In function ‘PyThread_free_lock’:
 Python/thread_pthread.h:304:17: attention : variable ‘error’ set but not used [-Wunused-but-set-variable]
 Python/thread_pthread.h: In function ‘PyThread_acquire_lock_timed’:
 Python/thread_pthread.h:335:17: attention : variable ‘error’ set but not used [-Wunused-but-set-variable]
 Python/thread_pthread.h: In function ‘PyThread_release_lock’:
 Python/thread_pthread.h:386:17: attention : variable ‘error’ set but not used [-Wunused-but-set-variable]

I tried to remove the variables, but the build crash as they are used in

 #define CHECK_STATUS(name)  if (status != 0) { perror(name); error = 1; }

looks like a gcc 4.7.2 bug.
History
Date User Action Args
2012-12-01 02:41:38bruno.dupuissetrecipients: + bruno.dupuis
2012-12-01 02:41:38bruno.dupuissetmessageid: <1354329698.56.0.368664055406.issue16588@psf.upfronthosting.co.za>
2012-12-01 02:41:38bruno.dupuislinkissue16588 messages
2012-12-01 02:41:37bruno.dupuiscreate