www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3997] New: comparing AAs doesn't work: _aaEqual missing

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3997

           Summary: comparing AAs doesn't work: _aaEqual missing
           Product: D
           Version: 1.057
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: nfxjfg gmail.com



cat aa.d
void main() {
    int[int] a;
    bool x = a == a;
}

dmd aa.d
aa.o: In function `_Dmain':
aa.d:(.text._Dmain+0xe): undefined reference to `_aaEqual'
collect2: ld returned 1 exit status
--- errorlevel 1

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 21 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3997


bearophile_hugs eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs eml.cc



Note: dmd v2.042 seems to not have this bug (but this bug report is for dmd
1.057).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 22 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3997




The failure I reported happened only because Tango's runtime doesn't implement
the _aaEqual function yet.

I thought I tested this with Phobos1, but apparently I didn't switch libraries
correctly. I actually works in Phobos 1.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 23 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3997


nfxjfg gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 23 2010