From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28761 invoked by alias); 11 Feb 2015 12:28:05 -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 27950 invoked by uid 89); 11 Feb 2015 12:28:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.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-f48.google.com Received: from mail-pa0-f48.google.com (HELO mail-pa0-f48.google.com) (209.85.220.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 11 Feb 2015 12:28:04 +0000 Received: by mail-pa0-f48.google.com with SMTP id eu11so3685939pac.7 for ; Wed, 11 Feb 2015 04:28:02 -0800 (PST) X-Received: by 10.70.91.201 with SMTP id cg9mr46040274pdb.57.1423657682704; Wed, 11 Feb 2015 04:28:02 -0800 (PST) Received: from [127.0.0.1] (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id zq10sm865684pab.19.2015.02.11.04.28.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Feb 2015 04:28:02 -0800 (PST) Message-ID: <54DB4ACF.401@gmail.com> Date: Wed, 11 Feb 2015 12:28:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Pedro Alves , gdb-patches@sourceware.org Subject: Re: [PATCH 24/36] breakpoint.h: move enum =?UTF-8?B?4oCYcHJpbnRf?= =?UTF-8?B?c3RvcF9hY3Rpb27igJk=?= References: <1423524046-20605-1-git-send-email-palves@redhat.com> <1423524046-20605-25-git-send-email-palves@redhat.com> In-Reply-To: <1423524046-20605-25-git-send-email-palves@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00305.txt.bz2 Hi Pedro, On 09/02/15 23:20, Pedro Alves wrote: > Building GDB in C++, we get: > > src/gdb/breakpoint.h:529:8: error: use of enum ‘print_stop_action’ without previous declaration > > We can forward declare enums in C++. I think you meant "can't". Patch is good to me. -- Yao (齐尧)