[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling (development) Emacs with MSVC
From: |
Andreas Schwab |
Subject: |
Re: Compiling (development) Emacs with MSVC |
Date: |
Sat, 18 Dec 2010 12:15:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2.91 (gnu/linux) |
Eli Zaretskii <address@hidden> 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, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."