From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16806 invoked by alias); 14 Jan 2017 03:34:33 -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 16793 invoked by uid 89); 14 Jan 2017 03:34:32 -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_50,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=bob, Compiling, Bob, wild X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 14 Jan 2017 03:34:22 +0000 Received: by simark.ca (Postfix, from userid 33) id 4EC241E930; Fri, 13 Jan 2017 22:34:20 -0500 (EST) To: Bob Rossi Subject: Re: Compiling GDB with C++ Compiler X-PHP-Originating-Script: 33:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 14 Jan 2017 03:34:00 -0000 From: Simon Marchi Cc: gdb@sourceware.org In-Reply-To: <20170114032254.GA32091@xubuntu.brasko.net> References: <20170114032254.GA32091@xubuntu.brasko.net> Message-ID: X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.2.3 X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00016.txt.bz2 On 2017-01-13 22:22, Bob Rossi wrote: > Hi, > > I work on cgdb, a gdb front end. > > cgdb was always a C project because gdb was. > The goal was to have cgdb port anywhere that gdb could. > > Now that gdb is C++, cgdb has moved to C++. > Is there a specific C++ standard that gdb conforms to with g++? > Forrinstance, c++98 or c++11, or is it more of a wild west scenario? > If there is a specific standard, I'll have cgdb follow that standard as > well. > > Thanks, > Bob Rossi Hi Bob, GDB is written in C++11. See: https://sourceware.org/gdb/wiki/Internals%20GDB-C-Coding-Standards#C.2B-.2B-_Usage Thanks! Simon