[Issue 637] internal symbols are missing the leading underscore

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 12 12:25:16 PST 2006


http://d.puremagic.com/issues/show_bug.cgi?id=637


thomas-dloop at kuehne.cn changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #2 from thomas-dloop at kuehne.cn  2006-12-12 14:25 -------
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


-- 



More information about the Digitalmars-d-bugs mailing list