From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17594 invoked by alias); 14 Jul 2011 11:13:36 -0000 Received: (qmail 17584 invoked by uid 22791); 14 Jul 2011 11:13:36 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SARE_HEAD_8BIT_SPAM,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Jul 2011 11:13:19 +0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/49745] error:=?UTF-8?Q?=20=E2=80=98int=20truncate=E2=80=99=20redeclared=20as=20different=20kind=20of=20symbol?= X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 14 Jul 2011 11:13:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg01097.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49745 --- Comment #4 from Jonathan Wakely 2011-07-14 11:13:13 UTC --- Why does gthr-posix.h even include ? --- gcc/gthr-posix.h.orig 2011-07-14 11:09:00.148778460 +0000 +++ gcc/gthr-posix.h 2011-07-14 11:09:01.763786789 +0000 @@ -39,7 +39,6 @@ #endif #include -#include typedef pthread_t __gthread_t; typedef pthread_key_t __gthread_key_t; The names from will still be declared, but that's a LOT better than bringing in everything from If some crufty OS needs it should only be included conditionally