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


--- Comment #0 from nfxjfg gmail.com 2010-03-21 06:58:30 PDT ---
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


--- Comment #1 from bearophile_hugs eml.cc 2010-03-22 06:57:13 PDT ---
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



--- Comment #2 from nfxjfg gmail.com 2010-03-23 18:38:49 PDT ---
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