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] Fix <mm_malloc.h> on Linux in C++ code


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~


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