https://issues.dlang.org/show_bug.cgi?id=15393
Issue ID: 15393 Summary: Debug versions in GC code doesn't compile. Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: ibuc...@gdcproject.org When compiling 2.067 druntime. Might have been fixed in a latter release, but this is preventing me from working on it. *** debug = PRINTF *** ../../../../gcc-devel/libphobos/libdruntime/gc/gc.d:1866:36: error: function gc.gc.printFreeInfo (Pool* pool) is not callable using argument types (LargeObjectPool*) debug(PRINTF) printFreeInfo(pool); ^ ../../../../gcc-devel/libphobos/libdruntime/gc/gc.d:1874:36: error: function gc.gc.printFreeInfo (Pool* pool) is not callable using argument types (LargeObjectPool*) debug(PRINTF) printFreeInfo(pool); ^ ../../../../gcc-devel/libphobos/libdruntime/gc/gc.d:1866:36: error: function gc.gc.printFreeInfo (Pool* pool) is not callable using argument types (LargeObjectPool*) debug(PRINTF) printFreeInfo(pool); ^ ../../../../gcc-devel/libphobos/libdruntime/gc/gc.d:1874:36: error: function gc.gc.printFreeInfo (Pool* pool) is not callable using argument types (LargeObjectPool*) debug(PRINTF) printFreeInfo(pool); ^ *** debug = MEMSTOMP *** ../../../../gcc-devel/libphobos/libdruntime/gc/gc.d:1802:42: error: undefined identifier size, did you mean alias size_t? debug (MEMSTOMP) memset(p, 0xF0, size); ^ ../../../../gcc-devel/libphobos/libdruntime/gc/gc.d:1802:42: error: undefined identifier size, did you mean alias size_t? debug (MEMSTOMP) memset(p, 0xF0, size); ^ ../../../../gcc-devel/libphobos/libdruntime/gc/gc.d:3117:37: error: undefined identifier pool, did you mean struct Pool? debug (MEMSTOMP) memset(pool.baseAddr + pn * PAGESIZE, 0xF3, n * PAGESIZE); ^ ../../../../gcc-devel/libphobos/libdruntime/gc/gc.d:3117:37: error: undefined identifier pool, did you mean struct Pool? debug (MEMSTOMP) memset(pool.baseAddr + pn * PAGESIZE, 0xF3, n * PAGESIZE); ^ *** debug = INVARIANT *** ../../../../gcc-devel/libphobos/libdruntime/gc/gc.d:1458:22: error: no property 'Invariant' for type 'const(PoolTable!(Pool))' pooltable.Invariant(); ^ ../../../../gcc-devel/libphobos/libdruntime/gc/gc.d:1458:22: error: no property 'Invariant' for type 'const(PoolTable!(Pool))' pooltable.Invariant(); ^ --