This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Merge C++ conversion into trunk (1/6 - Configury)


On 12-08-13 02:51 , Steven Bosscher wrote:
On Mon, Aug 13, 2012 at 2:34 AM, Diego Novillo <dnovillo@google.com> wrote:
On 12-08-12 16:16 , Steven Bosscher wrote:

On Sun, Aug 12, 2012 at 10:09 PM, Diego Novillo <dnovillo@google.com> wrote:

This patch implements the configuration changes needed to bootstrap with a C++ compiler by default.


Hi,

Is it possible to add -fno-rtti to the default CXX_FLAGS, and remove
it if necessary?


I suppose, but I don't recall what the consensus was with rtti.  I did not
follow the coding conventions discussion very closely.

The coding conventions say: "Run-time type information (RTTI) is permitted when certain non-default --enable-checking options are enabled, so as to allow checkers to report dynamic types. However, by default, RTTI is not permitted and the compiler must build cleanly with -fno-rtti."

Thanks. We actually already build with -fno-rtti. So, no changes are needed.



Diego.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]