From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99701 invoked by alias); 1 Sep 2016 19:07:29 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 99049 invoked by uid 89); 1 Sep 2016 19:07:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Zaretskii, HCc:D*ca, zaretskii X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Sep 2016 19:07:18 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 669EE2DC342; Thu, 1 Sep 2016 19:07:17 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u81J7E76008751; Thu, 1 Sep 2016 15:07:14 -0400 Subject: Re: Go C++ only To: Eli Zaretskii , Andrew Pinski References: <212bc30a-e6ad-886b-0881-8206dd91b933@redhat.com> <410fa84696e520ca3845c841fc7391b8@simark.ca> <5479c5a0-a346-1718-5573-eeb4b19bc9db@redhat.com> <83wpive982.fsf@gnu.org> Cc: simon.marchi@polymtl.ca, gdb@sourceware.org From: Pedro Alves Message-ID: <9e3ee0cc-3ea0-314c-c305-51f754765076@redhat.com> Date: Thu, 01 Sep 2016 19:07:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <83wpive982.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-09/txt/msg00013.txt.bz2 On 09/01/2016 08:00 PM, Eli Zaretskii wrote: >> From: Andrew Pinski >> Date: Thu, 1 Sep 2016 11:36:34 -0700 >> Cc: Simon Marchi , GDB Development >> >> Note the only feature I want to use right now is bool instead of char >> or int were the value is a boolean. > > You have bool in C. That's C99 only and requires including . Defining it ourselves is likely to cause conflict problems. The best way to make use of that would probably be to pull in gnulib's stdbool module, though ISTR that's been tried and it caused trouble too. It's just easier to wait for C++. Thanks, Pedro Alves