Re: Compiling GDB with C++ Compiler

Simon Marchi <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.