Bug 1751 – char** null after Compilation

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2007-12-28T14:37:00Z
Last change time
2015-06-09T01:31:19Z
Keywords
wrong-code
Assigned to
ibuclaw
Creator
mike

Comments

Comment #0 by mike — 2007-12-28T14:37:59Z
I found the following when tracking down a problem with gtkD and gdc-0.24. char** are null after compiling with gdc-0.24, but with gdc-0.23 and dmd 1.024 they are not. Example: import std.stdio; void main() { //prints true with gdc-0.24, //and false with gdc-0.23 and dmd 1.024 writefln(test is null); assert(test, "test is only null in gdc 0.24"); } char** test = ["hello", "test", " "];
Comment #1 by ibuclaw — 2010-08-05T14:36:48Z
Fixed in hg commit 118 / release 0.25