public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [basic-improvements] Fix gcc/unwind.h
@ 2002-11-12 11:42 Andreas Schwab
  2002-11-18 17:23 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2002-11-12 11:42 UTC (permalink / raw)
  To: gcc-patches

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."

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [basic-improvements] Fix gcc/unwind.h
  2002-11-12 11:42 [basic-improvements] Fix gcc/unwind.h Andreas Schwab
@ 2002-11-18 17:23 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2002-11-18 17:23 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: gcc-patches

On Tue, Nov 12, 2002 at 08:42:02PM +0100, Andreas Schwab wrote:
> 	* unwind.h (_Unwind_GetTextRelBase): Revert last change, this is
> 	not valid in C++.

Ok.


r~

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-19  1:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-12 11:42 [basic-improvements] Fix gcc/unwind.h Andreas Schwab
2002-11-18 17:23 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).