From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tak Ota Newsgroups: gmane.emacs.devel Subject: Re: Unicode support for the MS Windows clipboard Date: Wed, 28 Jul 2004 09:57:53 -0700 (PDT) Organization: Sony Electronics Inc. Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <20040728.095753.190217464.Takaaki.Ota@am.sony.com> References: <41078F73.1060705@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1091033974 6742 80.91.224.253 (28 Jul 2004 16:59:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2004 16:59:34 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca, handa@m17n.org, jasonr@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 28 18:59:01 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bprlc-0005Ro-00 for ; Wed, 28 Jul 2004 18:59:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bproi-0007y5-5H for ged-emacs-devel@m.gmane.org; Wed, 28 Jul 2004 13:02:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BproU-0007vd-ST for emacs-devel@gnu.org; Wed, 28 Jul 2004 13:01:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BproT-0007uc-Ri for emacs-devel@gnu.org; Wed, 28 Jul 2004 13:01:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BproT-0007uE-PI for emacs-devel@gnu.org; Wed, 28 Jul 2004 13:01:57 -0400 Original-Received: from [160.33.82.68] (helo=mail1.fw-sj.sony.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Bprkw-0004VE-Mm; Wed, 28 Jul 2004 12:58:19 -0400 Original-Received: from mail3.sjc.in.sel.sony.com (mail3.sjc.in.sel.sony.com [43.134.1.211]) by mail1.fw-sj.sony.com (8.12.11/8.12.11) with ESMTP id i6SGvtG5012965; Wed, 28 Jul 2004 16:58:00 GMT Original-Received: from localhost ([43.191.18.96]) by mail3.sjc.in.sel.sony.com (8.12.11/8.12.11) with ESMTP id i6SGvsth008723; Wed, 28 Jul 2004 16:57:54 GMT Original-To: Benjamin.Riefenstahl@epost.de In-Reply-To: X-Telephone: +1-858-942-3239 X-Fax------: +1-858-942-9142 X-SnailMail: 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804 X-Mailer: Mew-4.0.66 on Emacs-21.3.50.1 (i386-msvc-nt5.1.2600) of 2004-07-23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26061 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26061 Benny and Jason, Please disregard my previous message. I replied before reading this one. So now we know the problem. I'll leave the solution to you w32 experts. Thanks. -Tak Wed, 28 Jul 2004 14:08:07 +0200: Benjamin Riefenstahl wrote: > Hi Jason, > > > >>Tak Ota writes: > >>>libc.lib(heapinit.obj) : error LNK2005: __heap_init already defined in > >>>temacs1.lib(w32heap.obj) > > Jason Rumney writes: > > Is the new implementation of w32select.c using a C library function > > that internally mallocs memory using the C library malloc instead of > > Emacs' one? > > Ah, now I understand. The code is using atexit(), os_subtype is a red > herring. > > We are talking about MSC and static linking and the problem with > atexit() mentioned in w32.c. I commented on that in the code. The > problem can't occur in a dynamic build, which is all that Mingw (my > environment) supports. > > So how do I simulate atexit()? The method using signals as used in > w32.c doesn't seem to work with Mingw, I tried that. > > > benny