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]

PATCH: g++.old-deja/g++.abi/cxa_vec.C


This obvious patch addresses the fact that malloc.h is not a standard
ISO C header.  I cut-and-paste the ChangeLog entry from ``Mon Aug 23
17:26:58 1993 Per Bothner (bothner@kalessin.cygnus.com) * rts.c: Get
malloc() from <stdlib.h>, not <malloc.h>.''

Applied to mainline only.

Regards,
Loren

	* g++.old-deja/g++.abi/cxa_vec.C: Get malloc() from
	<stdlib.h>, not <malloc.h>.

Index: g++.old-deja/g++.abi/cxa_vec.C
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C,v
retrieving revision 1.2
diff -c -r1.2 cxa_vec.C
*** cxa_vec.C	2000/11/16 04:14:37	1.2
--- cxa_vec.C	2001/04/25 19:52:39
***************
*** 6,12 ****
  #include <cxxabi.h>
  #include <stdio.h>
  #include <new>
! #include <malloc.h>
  #include <setjmp.h>
  
  static int ctor_count = 0;
- --- 6,12 ----
  #include <cxxabi.h>
  #include <stdio.h>
  #include <new>
! #include <stdlib.h>
  #include <setjmp.h>
  
  static int ctor_count = 0;


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