File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,7 @@ Maxim Dzumanenko
327327Walter Dörwald
328328Hans Eckardt
329329Rodolpho Eckhardt
330+ David Edelsohn
330331John Edmonds
331332Grant Edwards
332333John Ehresman
Original file line number Diff line number Diff line change @@ -141,6 +141,9 @@ Tools/Demos
141141Build
142142-----
143143
144+ - Issue #18256: Compilation fix for recent AIX releases. Patch by
145+ David Edelsohn.
146+
144147- Issue #15172: Document NASM 2.10+ as requirement for building OpenSSL 1.0.1
145148 on Windows.
146149
Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ static void
170170PyThread__init_thread (void )
171171{
172172#if defined(_AIX ) && defined(__GNUC__ )
173+ extern void pthread_init (void );
173174 pthread_init ();
174175#endif
175176}
@@ -444,6 +445,7 @@ PyThread_free_lock(PyThread_type_lock lock)
444445 pthread_lock * thelock = (pthread_lock * )lock ;
445446 int status , error = 0 ;
446447
448+ (void ) error ; /* silence unused-but-set-variable warning */
447449 dprintf (("PyThread_free_lock(%p) called\n" , lock ));
448450
449451 /* some pthread-like implementations tie the mutex to the cond
@@ -530,6 +532,7 @@ PyThread_release_lock(PyThread_type_lock lock)
530532 pthread_lock * thelock = (pthread_lock * )lock ;
531533 int status , error = 0 ;
532534
535+ (void ) error ; /* silence unused-but-set-variable warning */
533536 dprintf (("PyThread_release_lock(%p) called\n" , lock ));
534537
535538 status = pthread_mutex_lock ( & thelock -> mut );
You can’t perform that action at this time.
0 commit comments