From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7420 invoked by alias); 10 Feb 2015 15:05:55 -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 7410 invoked by uid 89); 10 Feb 2015 15:05:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: homiemail-a91.g.dreamhost.com Received: from sub5.mail.dreamhost.com (HELO homiemail-a91.g.dreamhost.com) (208.113.200.129) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 10 Feb 2015 15:05:54 +0000 Received: from homiemail-a91.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a91.g.dreamhost.com (Postfix) with ESMTP id DF092AE069; Tue, 10 Feb 2015 07:05:52 -0800 (PST) Received: from redwood.eagercon.com (c-24-7-16-38.hsd1.ca.comcast.net [24.7.16.38]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eager@eagerm.com) by homiemail-a91.g.dreamhost.com (Postfix) with ESMTPSA id C46B2AE05B; Tue, 10 Feb 2015 07:05:52 -0800 (PST) Message-ID: <54DA1E50.8070305@eagerm.com> Date: Tue, 10 Feb 2015 15:05:00 -0000 From: Michael Eager User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Pedro Alves , gdb-patches@sourceware.org Subject: Re: [PATCH 21/36] opcodes/microblaze: Rename 'or', 'and', 'xor' to avoid C++ conflict References: <1423524046-20605-1-git-send-email-palves@redhat.com> <1423524046-20605-22-git-send-email-palves@redhat.com> In-Reply-To: <1423524046-20605-22-git-send-email-palves@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00255.txt.bz2 On 02/09/15 15:20, Pedro Alves wrote: > Building GDB as a C++ program, we see: > > In file included from gdb/microblaze-tdep.c:37:0: > gdb/../opcodes/../opcodes/microblaze-opcm.h: At global scope: > gdb/../opcodes/../opcodes/microblaze-opcm.h:32:51: error: expected ide= ntifier before =E2=80=98or=E2=80=99 token > ncget, ncput, muli, bslli, bsrai, bsrli, mului, or, and, xor, > ^ > gdb/../opcodes/../opcodes/microblaze-opcm.h:32:51: error: expected =E2= =80=98}=E2=80=99 before =E2=80=98or=E2=80=99 token > gdb/../opcodes/../opcodes/microblaze-opcm.h:32:51: error: expected unq= ualified-id before =E2=80=98or=E2=80=99 token > gdb/../opcodes/../opcodes/microblaze-opcm.h:60:1: error: expected decl= aration before =E2=80=98}=E2=80=99 token > }; > ^ > > opcodes/ChangeLog: > 2015-10-20 Pedro Alves > Tom Tromey > > * microblaze-opcm.h (or, and, xor): Rename to microblaze_or, > microblaze_and, microblaze_xor. > * microblaze-opc.h (struct op_code_struct): Adjust. OK. --=20 Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077