public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Mo DeJong <mdejong@uncounted.org>
Cc: Insight <insight@sources.redhat.com>
Subject: Re: Patch: fix tk so that it compiles under mingw
Date: Fri, 22 Nov 2002 12:43:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0211221240430.1555-100000@valrhona.uglyboxes.com> (raw)
In-Reply-To: <20021110105124.13c0c1fd.mdejong@uncounted.org>

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


  reply	other threads:[~2002-11-22 20:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-10 10:49 Mo DeJong
2002-11-22 12:43 ` Keith Seitz [this message]
2003-01-14  1:26   ` Mo DeJong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0211221240430.1555-100000@valrhona.uglyboxes.com \
    --to=keiths@redhat.com \
    --cc=insight@sources.redhat.com \
    --cc=mdejong@uncounted.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).