Fix Issue 9366 - Appending a value cast to void to a void[] crashes DMD #1532

Merged
merged 1 commit into from Jan 22, 2013

Conversation

Projects
None yet
5 participants
Member

9rnsr commented Jan 22, 2013

LGTM.

donc pushed a commit that referenced this pull request Jan 22, 2013

Merge pull request #1532 from yebblies/issue9366
Fix Issue 9366 - Appending a value cast to void to a void[] crashes DMD

@donc donc merged commit b426356 into dlang:master Jan 22, 2013

1 check passed

default Pass: 10
Details
Owner

WalterBright commented Jan 23, 2013

When I try to build phobos with this, I get this error. I don't know why the test suite says it passes.

..\dmd -lib -ofphobos64.lib -Xfphobos.json -m64 -O -release -w -d -property std\stdio.d std\stdioba
e.d  std\string.d std\format.d  std\file.d std\range.d std\array.d std\functional.d std\path.d std\
utbuffer.d std\utf.d  std\math.d  std\csv.d std\complex.d std\numeric.d std\bigint.d std\uni.d std\
ase64.d std\md5.d std\ctype.d std\ascii.d  std\demangle.d std\uri.d std\mmfile.d std\getopt.d std\s
gnals.d std\typetuple.d std\traits.d  std\encoding.d std\xml.d  std\random.d std\regexp.d  std\exce
tion.d  std\compiler.d std\cpuid.d  std\system.d std\concurrency.d std\datetime.d std\metastrings.d
std\bitmanip.d std\typecons.d std\uuid.d std\digest\crc.d std\digest\sha.d std\digest\md.d  std\dig
st\ripemd.d std\digest\digest.d  std\algorithm.d  std\variant.d  std\syserror.d  std\zlib.d  std\st
eam.d  std\socket.d  std\socketstream.d  std\perf.d  std\container.d  std\conv.d  std\zip.d  std\cs
ream.d  std\regex.d  std\stdint.d  std\json.d  std\parallelism.d  std\mathspecial.d  std\process.d
crc32.d  std\net\isemail.d std\net\curl.d  std\c\process.d std\c\stdlib.d std\c\time.d std\c\stdio.
  std\c\math.d std\c\stdarg.d std\c\stddef.d std\c\fenv.d std\c\string.d  std\c\locale.d std\c\wcha
h.d  std\windows\registry.d  std\windows\iunknown.d std\windows\syserror.d std\windows\charset.d  s
d\c\windows\windows.d std\c\windows\com.d  std\c\windows\winsock.d std\c\windows\stat.d  std\intern
l\processinit.d std\internal\uni.d std\internal\uni_tab.d  std\internal\digest\sha_SSSE3.d  std\int
rnal\math\biguintcore.d  std\internal\math\biguintnoasm.d std\internal\math\biguintx86.d  std\inter
al\math\gammafunction.d std\internal\math\errorfunction.d  std\internal\windows\advapi32.d    etc\c
zlib.d etc\c\curl.d etc\c\sqlite3.d  etc\c\zlib\zlib64.lib ..\druntime\lib\druntime64.lib
std.md5 is scheduled for deprecation. Please use std.digest.md instead
Notice: As of Phobos 2.055, std.regexp has been deprecated. Please use std.regex instead.
std.cpuid has been deprecated. It will be removed in January 2013. Please use core.cpuid instead.
std.perf has been deprecated. It will be removed in January 2013. Please use std.datetime instead.
The 'crc32' module has been scheduled for deprecation. Please use 'std.digest.crc' instead.
std\string.d(1813): Error: argument string[0LU] to typeof is not an expression
Owner

WalterBright commented Jan 23, 2013

I also don't know why github puts things in large boldface.

Member

yebblies commented Jan 23, 2013

@WalterBright You need to pull the latest version of phobos. This was the dmd change, and this was the required phobos change.

Owner

WalterBright commented Jan 23, 2013

I had thought I had pulled the latest Phobos, but I had not. Thanks for the easy fix!

Member

MartinNowak commented Jan 23, 2013

I also don't know why github puts things in large boldface.

Dashed underlines make H2 headers.
http://daringfireball.net/projects/markdown/syntax#header

Owner

WalterBright commented Jan 23, 2013

I see. I guess everyone has to invent a different markup language.

@yebblies yebblies deleted the yebblies:issue9366 branch Jun 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment