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: [PATCH] non-GNU C++ compilers


(the original discussion started here:
http://gcc.gnu.org/ml/gcc-patches/2011-08/msg00758.html
)

On Mon, 8 Aug 2011, Joseph S. Myers wrote:

On Mon, 8 Aug 2011, Marc Glisse wrote:

* include/obstack.h (obstack_free): Cast to char* instead of int

This header comes from glibc/gnulib. Although some local changes have been made to it in the past, sending any fixes to upstream glibc is still a good idea.

It was fixed in glibc. The equivalent patch (not identical because the files are already different) for gcc would be the one attached.


(ansidecl.h *claims* to come from glibc but the glibc copy was removed in
1997.  obstack.h really does still come from glibc.)

Is someone willing to review (and possibly commit) these 2 patches?


Changelog for include/obstack.h in glibc (guess it should be copied almost as is?):

2011-09-11  Ulrich Drepper  <drepper@gmail.com>
	* obstack.h [!GNUC] (obstack_free): Avoid cast to int.

Changelog for the ansidecl.h part:

2011-08-08 Marc Glisse <marc.glisse@inria.fr>
	* include/ansidecl.h (ENUM_BITFIELD): Always use enum in C++

--
Marc Glisse

Attachment: p5
Description: Text document


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