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]

[v3] libstdc++/29095


Hi Mark, all,

I understand that in order to fix this "regression" we should simply apply something like the below to 4_0/4_1/mainline... Ok?

Paolo.

//////////////////////
2006-10-05  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/29095
	* libsupc++/cxxabi.h: Declare __cxa_cdtor_type in C mode too.
Index: libsupc++/cxxabi.h
===================================================================
--- libsupc++/cxxabi.h	(revision 117430)
+++ libsupc++/cxxabi.h	(working copy)
@@ -1,6 +1,7 @@
 // new abi support -*- C++ -*-
   
-// Copyright (C) 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
+// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006
+// Free Software Foundation, Inc.
 //
 // This file is part of GCC.
 //
@@ -58,6 +59,8 @@
 
   extern "C" 
   {
+#else
+  typedef __cxa_cdtor_return_type (*__cxa_cdtor_type)(void *);    
 #endif
 
   // Allocate array.

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