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] New: Two conflict defines for __sigsetjmp in pthread.h and setjmp.h


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.


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