From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Compiling (development) Emacs with MSVC Date: Sat, 18 Dec 2010 12:15:48 +0100 Message-ID: References: <83sjy5279e.fsf@gnu.org> <83oc8jfii1.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1292670972 15002 80.91.229.12 (18 Dec 2010 11:16:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Dec 2010 11:16:12 +0000 (UTC) Cc: Fabrice Popineau , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 18 12:16:07 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PTulh-0005tK-FI for ged-emacs-devel@m.gmane.org; Sat, 18 Dec 2010 12:16:05 +0100 Original-Received: from localhost ([127.0.0.1]:36315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTulg-0003m4-Nt for ged-emacs-devel@m.gmane.org; Sat, 18 Dec 2010 06:16:04 -0500 Original-Received: from [140.186.70.92] (port=43491 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTulX-0003kp-Pt for emacs-devel@gnu.org; Sat, 18 Dec 2010 06:15:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTulW-0003GK-NU for emacs-devel@gnu.org; Sat, 18 Dec 2010 06:15:55 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:36403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTulU-0003FP-Rc; Sat, 18 Dec 2010 06:15:52 -0500 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3389F182444D; Sat, 18 Dec 2010 12:15:50 +0100 (CET) X-Auth-Info: QvFSq8wqX5YfEVwieb2iM6rfxyH17A6I/Jmv0u3rF2A= Original-Received: from linux.local (ppp-88-217-97-221.dynamic.mnet-online.de [88.217.97.221]) by mail.mnet-online.de (Postfix) with ESMTPA id 7D96C1C001E8; Sat, 18 Dec 2010 12:15:49 +0100 (CET) Original-Received: by linux.local (Postfix, from userid 501) id C4AEB1E52ED; Sat, 18 Dec 2010 12:15:48 +0100 (CET) X-Yow: Place me on a BUFFER counter while you BELITTLE several BELLHOPS in the Trianon Room!! Let me one of your SUBSIDIARIES! In-Reply-To: <83oc8jfii1.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 18 Dec 2010 13:05:58 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133788 Archived-At: Eli Zaretskii writes: >> - memset (bloc->new_data + old_size, 0, size - old_size); >> + memset ((char *) bloc->new_data + old_size, 0, size - old_size); > > Is this a real problem, or just a left-over from some attempt to debug > memory allocation problems, resolved by "-dynamicbase:no"? If this is > a real problem, can you tell what it is? Arithmetic with pointers to void are not portable. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."