This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix <mm_malloc.h> on Linux in C++ code
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 3 Jan 2006 16:01:28 -0800
- Subject: Re: [PATCH] Fix <mm_malloc.h> on Linux in C++ code
- References: <20051228172912.GW22293@devserv.devel.redhat.com>
On Wed, Dec 28, 2005 at 12:29:12PM -0500, Jakub Jelinek wrote:
> * config/i386/pmm_malloc.h (posix_memalign): If __cplusplus,
> make the prototype extern "C" and add throw ().
> * g++.dg/other/i386-2.C: New test.
Ok.
r~