[Bug c/32292] New: pthread_exit should have attribute __noreturn__
scovich at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jun 11 20:47:00 GMT 2007
The following generates a spurious warning about control reaching the end of a
non-void function:
#include <pthread.h>
void* foo(void*) {
pthread_exit(1);
}
--
Summary: pthread_exit should have attribute __noreturn__
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: scovich at gmail dot com
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32292
More information about the Gcc-bugs
mailing list