[COMMITTED PATCH] gold: be consistent in struct vs class for forward decl
Roland McGrath
mcgrathr@google.com
Fri Oct 11 17:39:00 GMT 2013
More information about the Binutils mailing list
Fri Oct 11 17:39:00 GMT 2013
- Previous message (by thread): [COMMITTED PATCH] avoid non-ASCII/non-UTF8 character in string literal in winduni.c
- Next message (by thread): [PATCH] gold: conditionalize declaration of conditionally-used field Once::was_run_lock_.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Committed as obvious enough, to trunk and 2.24 branch. This makes the one straggler consistent with all the other forward declarations of classes whose actual definitions are done with 'struct'. Thanks, Roland gold/ 2013-10-11 Roland McGrath <mcgrathr@google.com> * archive.h: Use struct rather than class for forward declaration of Read_symbols_data. --- a/gold/archive.h +++ b/gold/archive.h @@ -1,6 +1,6 @@ // archive.h -- archive support for gold -*- C++ -*- -// Copyright 2006, 2007, 2008, 2010, 2011 Free Software Foundation, Inc. +// Copyright 2006, 2007, 2008, 2010, 2011, 2013 Free Software Foundation, Inc. // Written by Ian Lance Taylor <iant@google.com>. // This file is part of gold. @@ -40,7 +40,7 @@ class Input_group; class Layout; class Symbol_table; class Object; -class Read_symbols_data; +struct Read_symbols_data; class Input_file_lib; class Incremental_archive_entry;
- Previous message (by thread): [COMMITTED PATCH] avoid non-ASCII/non-UTF8 character in string literal in winduni.c
- Next message (by thread): [PATCH] gold: conditionalize declaration of conditionally-used field Once::was_run_lock_.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list