This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15404] New: Two conflict defines for __sigsetjmp in pthread.h and setjmp.h
- From: "guojiufu at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 26 Apr 2013 08:39:24 +0000
- Subject: [Bug libc/15404] New: Two conflict defines for __sigsetjmp in pthread.h and setjmp.h
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15404
Bug #: 15404
Summary: Two conflict defines for __sigsetjmp in pthread.h and
setjmp.h
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: unassigned@sourceware.org
ReportedBy: guojiufu@gmail.com
CC: drepper.fsp@gmail.com
Classification: Unclassified
the prototype of sigsetjmp in pthread.h and setjmp.h are little different.
/usr/include/pthread.h:
extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROW;
/usr/include/setjmp.h:
extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROW;
These two defines are not compliant to each other in C++ aspect. So would you
please change them to the same prototype?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.