This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[basic-improvements] Fix gcc/unwind.h
- From: Andreas Schwab <schwab at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 12 Nov 2002 20:42:02 +0100
- Subject: [basic-improvements] Fix gcc/unwind.h
This fixes a syntax error in gcc/unwind.h.
Andreas.
2002-11-12 Andreas Schwab <schwab@suse.de>
* unwind.h (_Unwind_GetTextRelBase): Revert last change, this is
not valid in C++.
Index: gcc/unwind.h
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/unwind.h,v
retrieving revision 1.6.4.1
diff -u -p -a -r1.6.4.1 unwind.h
--- gcc/unwind.h 3 Oct 2002 06:21:22 -0000 1.6.4.1
+++ gcc/unwind.h 12 Nov 2002 19:40:37 -0000
@@ -182,7 +182,7 @@ _Unwind_GetDataRelBase (struct _Unwind_C
}
static inline _Unwind_Ptr
-_Unwind_GetTextRelBase (struct _Unwind_Context *_C __attribute__ ((unused)))
+_Unwind_GetTextRelBase (struct _Unwind_Context *_C)
{
abort ();
return 0;
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."