This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [PATCH] Fix compilation problem
- From: Keith Seitz <keiths at redhat dot com>
- To: Christopher Faylor <cgf at redhat dot com>
- Cc: insight at sources dot redhat dot com
- Date: Sun, 6 Oct 2002 12:58:26 -0700 (PDT)
- Subject: Re: [PATCH] Fix compilation problem
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.
>