From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24048 invoked by alias); 7 May 2013 12:09:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 23991 invoked by uid 48); 7 May 2013 12:09:39 -0000 From: "guojiufu at cn dot ibm.com" To: glibc-bugs@sourceware.org Subject: [Bug libc/15404] Two conflict defines for __sigsetjmp in pthread.h and setjmp.h Date: Tue, 07 May 2013 12:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: guojiufu at cn dot ibm.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg00023.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15404 Jeff Guo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guojiufu at cn dot ibm.com --- Comment #2 from Jeff Guo 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.