public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15404] New: Two conflict defines for __sigsetjmp in pthread.h and setjmp.h
@ 2013-04-26  8:39 guojiufu at gmail dot com
  2013-04-26 14:30 ` [Bug libc/15404] " schwab@linux-m68k.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: guojiufu at gmail dot com @ 2013-04-26  8:39 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-06-13 18:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-26  8:39 [Bug libc/15404] New: Two conflict defines for __sigsetjmp in pthread.h and setjmp.h guojiufu at gmail dot com
2013-04-26 14:30 ` [Bug libc/15404] " schwab@linux-m68k.org
2013-05-07 12:09 ` guojiufu at cn dot ibm.com
2013-05-07 12:53 ` schwab@linux-m68k.org
2013-10-20 17:47 ` neleai at seznam dot cz
2014-06-13 18:15 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).