https://issues.dlang.org/show_bug.cgi?id=23040 --- Comment #2 from Walter Bright <bugzilla at digitalmars.com> --- You can work around it with something like: static void* p; *(unsigned int*)p = (unsigned int) 0xdeadbeefUL; --