From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47784 invoked by alias); 16 Mar 2015 04:42:26 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 47775 invoked by uid 89); 16 Mar 2015 04:42:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pa0-f51.google.com Received: from mail-pa0-f51.google.com (HELO mail-pa0-f51.google.com) (209.85.220.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 16 Mar 2015 04:42:25 +0000 Received: by pagr17 with SMTP id r17so53075612pag.0 for ; Sun, 15 Mar 2015 21:42:23 -0700 (PDT) X-Received: by 10.70.38.195 with SMTP id i3mr132551818pdk.76.1426480943275; Sun, 15 Mar 2015 21:42:23 -0700 (PDT) Received: from [192.168.1.104] ([115.199.128.78]) by mx.google.com with ESMTPSA id n5sm14758655pdh.27.2015.03.15.21.42.19 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 15 Mar 2015 21:42:22 -0700 (PDT) Message-ID: <550660C5.2060009@gmail.com> Date: Mon, 16 Mar 2015 04:42:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Pedro Alves , GDB Patches Subject: Re: [all pushed] Re: [PATCH 00/36] Support building GDB as a C++ program References: <1423524046-20605-1-git-send-email-palves@redhat.com> <54F0B52F.1050909@redhat.com> <54FB20E2.2040403@redhat.com> <54FB3C58.6050702@redhat.com> In-Reply-To: <54FB3C58.6050702@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-03/txt/msg00432.txt.bz2 On 2015-3-8 1:58, Pedro Alves wrote: > At this point, I'd like to invite others to try out --enable-build-with-cxx > on others hosts, and send in fixes for any errors that stumbles on. I tested it today on msys + mingw4.8 32bit, and I get a build error: ../../binutils-gdb/gdb/windows-nat.c: At global scope: ../../binutils-gdb/gdb/windows-nat.c:192:1: error: conflicting declaration 'typedef struct thread_info_struct thread_info' thread_info; ^ In file included from ../../binutils-gdb/gdb/windows-nat.c:52:0: ../../binutils-gdb/gdb/gdbthread.h:160:8: error: 'struct thread_info' has a previous declaration as 'struct thread_info' struct thread_info ^ It looks like windows-nat.c has its own thread_info which should overwrite the one in gdbthread.h, but I don't know how to fix it right now. Any ideas? Yuanhui Zhang