Bug 637 – internal symbols are missing the leading underscore

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-12-03T05:29:00Z
Last change time
2014-02-15T13:20:47Z
Assigned to
bugzilla
Creator
thomas-dloop

Comments

Comment #0 by thomas-dloop — 2006-12-03T05:29:26Z
The following symbols are missing the leading underscore: D4wood4Tree6__initZ D4wood4Tree6__vtblZ D4wood4Tree7__ClassZ D4wood7__arrayZ D4wood8__assertFiZv D4wood9__modctorFZv D4wood9__moddtorFZv D4wood9__modtestFZv D4wood12__ModuleInfoZ
Comment #1 by bugzilla — 2006-12-12T04:16:19Z
Fixed DMD 0.176
Comment #2 by thomas-dloop — 2006-12-12T14:25:15Z
This issue is still present for DMD-0.177 on Linux. dmd > Digital Mars D Compiler v0.177 > Copyright (c) 1999-2006 by Digital Mars written by Walter Bright > Documentation: www.digitalmars.com/d/index.html > ... cat a.d > struct Foo{ > int i = 0x12AB34FF; > void bar(){ > } > } dmd -c a.d && nm --extern-only --defined-only a.o > 0000000000000000 D D16TypeInfo_S1a3Foo6__initZ > 0000000000000000 T _D1a3Foo3barMFZv > 0000000000000008 R D1a3Foo6__initZ
Comment #3 by thomas-dloop — 2007-01-24T07:46:32Z
Fixed in DMD-0.178