This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15404] Two conflict defines for __sigsetjmp in pthread.h and setjmp.h
- From: "guojiufu at cn dot ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 07 May 2013 12:09:38 +0000
- Subject: [Bug libc/15404] Two conflict defines for __sigsetjmp in pthread.h and setjmp.h
- Auto-submitted: auto-generated
- References: <bug-15404-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15404
Jeff Guo <guojiufu at cn dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |guojiufu at cn dot ibm.com
--- Comment #2 from Jeff Guo <guojiufu at cn dot ibm.com> 2013-05-07 12:09:38 UTC ---
one declare with namespace scope, one without namespace scope
-------------------
extern "C" {
struct __jmp_buf_tag;
extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) throw ();
}
--------------
namespace cvtest
{
extern "C" {
typedef long int __jmp_buf[64] __attribute__ ((__aligned__ (16)));
typedef struct
{
unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
} __sigset_t;
typedef __sigset_t sigset_t;
struct __jmp_buf_tag
{
__jmp_buf __jmpbuf;
int __mask_was_saved;
__sigset_t __saved_mask;
};
typedef struct __jmp_buf_tag jmp_buf[1];
extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) throw
();
}
}
--
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.