public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix compilation problem
@ 2002-10-05 17:42 Christopher Faylor
  2002-10-06 12:55 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Faylor @ 2002-10-05 17:42 UTC (permalink / raw)
  To: insight

I'm not sure how this one has survived for so long but it fails
on GCC 3.2.

Ok to apply?

cgf

2002-10-05  Christopher Faylor  <cgf@redhat.com>

	* win/tclWin32Dll.c (tclWinTCharEncoding): Remove 'static' since it is
	declared in header as exportable extern.

Index: win/tclWin32Dll.c
===================================================================
RCS file: /cvs/uberbaum/tcl/win/tclWin32Dll.c,v
retrieving revision 1.6
diff -u -p -r1.6 tclWin32Dll.c
--- win/tclWin32Dll.c	24 Sep 2002 18:37:11 -0000	1.6
+++ win/tclWin32Dll.c	6 Oct 2002 00:41:07 -0000
@@ -118,7 +118,7 @@ static TclWinProcs unicodeProcs = {
 };
 
 TclWinProcs *tclWinProcs;
-static Tcl_Encoding tclWinTCharEncoding;
+Tcl_Encoding tclWinTCharEncoding;
 
 /*
  * The following declaration is for the VC++ DLL entry point.

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

* Re: [PATCH] Fix compilation problem
  2002-10-05 17:42 [PATCH] Fix compilation problem Christopher Faylor
@ 2002-10-06 12:55 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2002-10-06 12:55 UTC (permalink / raw)
  To: Christopher Faylor; +Cc: insight

On Sat, 5 Oct 2002, Christopher Faylor wrote:

> I'm not sure how this one has survived for so long but it fails
> on GCC 3.2.

Because I keep forgetting to check it in? :-)

> Ok to apply?

Please do. Thanks.

Keith

> 2002-10-05  Christopher Faylor  <cgf@redhat.com>
> 
> 	* win/tclWin32Dll.c (tclWinTCharEncoding): Remove 'static' since it is
> 	declared in header as exportable extern.
> 
> Index: win/tclWin32Dll.c
> ===================================================================
> RCS file: /cvs/uberbaum/tcl/win/tclWin32Dll.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 tclWin32Dll.c
> --- win/tclWin32Dll.c	24 Sep 2002 18:37:11 -0000	1.6
> +++ win/tclWin32Dll.c	6 Oct 2002 00:41:07 -0000
> @@ -118,7 +118,7 @@ static TclWinProcs unicodeProcs = {
>  };
>  
>  TclWinProcs *tclWinProcs;
> -static Tcl_Encoding tclWinTCharEncoding;
> +Tcl_Encoding tclWinTCharEncoding;
>  
>  /*
>   * The following declaration is for the VC++ DLL entry point.
> 

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

end of thread, other threads:[~2002-10-06 19:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-05 17:42 [PATCH] Fix compilation problem Christopher Faylor
2002-10-06 12:55 ` Keith Seitz

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