From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9803 invoked by alias); 22 Nov 2002 20:43:18 -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 9795 invoked from network); 22 Nov 2002 20:43:17 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 22 Nov 2002 20:43:17 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gAMKJBP28341 for ; Fri, 22 Nov 2002 15:19:11 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gAMKhFD13283; Fri, 22 Nov 2002 15:43:15 -0500 Received: from valrhona.uglyboxes.com (IDENT:A8HcQfatvqUC3z38fp3m5NUhxf8eYfIK@vpn50-10.rdu.redhat.com [172.16.50.10]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gAMKhEw25683; Fri, 22 Nov 2002 15:43:15 -0500 Date: Fri, 22 Nov 2002 12:43:00 -0000 From: Keith Seitz X-X-Sender: keiths@valrhona.uglyboxes.com To: Mo DeJong cc: Insight Subject: Re: Patch: fix tk so that it compiles under mingw In-Reply-To: <20021110105124.13c0c1fd.mdejong@uncounted.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-q4/txt/msg00121.txt.bz2 On Sun, 10 Nov 2002, Mo DeJong wrote: > Index: win/tkWinDialog.c > =================================================================== > RCS file: /cvs/src/src/tk/win/tkWinDialog.c,v > retrieving revision 1.4 > diff -u -r1.4 tkWinDialog.c > --- win/tkWinDialog.c 24 Sep 2002 18:39:30 -0000 1.4 > +++ win/tkWinDialog.c 10 Nov 2002 01:41:34 -0000 > @@ -1523,7 +1523,7 @@ > * Directory must exist. Complain, then rehighlight text. > */ > > - wsprintf(tmp, __TEXT("Cannot change directory to \"%.200s\"."), > + wsprintf(tmp, _T("Cannot change directory to \"%.200s\"."), > cdPtr->path); > MessageBox(hwnd, tmp, NULL, MB_OK); > SendDlgItemMessage(hwnd, edt10, EM_SETSEL, 0, -1); This patch does not build: Creating library file: libcygtk83.a tkWinDIalog.o(.text+0x25a9): In function `ChooseDirectoryHookProc': /home/keiths/ref/cygwin/tk/win/../../../src/tk/win/tkWinDialog.c:1526: undefined reference to `__T' collect2: ld returned 1 exit status This is with gcc 3.2 20020927 (latest from setup). Keith