This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/15404] Two conflict defines for __sigsetjmp in pthread.h and setjmp.h


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]