From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29843 invoked by alias); 6 Oct 2002 00:42:55 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 29836 invoked from network); 6 Oct 2002 00:42:54 -0000 Received: from unknown (HELO redhat.com) (66.30.22.225) by sources.redhat.com with SMTP; 6 Oct 2002 00:42:54 -0000 Received: by redhat.com (Postfix, from userid 201) id E8C881BF27; Sat, 5 Oct 2002 20:43:46 -0400 (EDT) Date: Sat, 05 Oct 2002 17:42:00 -0000 From: Christopher Faylor To: insight@sources.redhat.com Subject: [PATCH] Fix compilation problem Message-ID: <20021006004346.GA11690@redhat.com> Mail-Followup-To: insight@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2002-q4/txt/msg00010.txt.bz2 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 * 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.