This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[PATCH] Fix compilation problem
- From: Christopher Faylor <cgf at redhat dot com>
- To: insight at sources dot redhat dot com
- Date: Sat, 5 Oct 2002 20:43:46 -0400
- Subject: [PATCH] Fix compilation problem
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.