Thread overview
[Issue 3734] New: [patch] src/traits.c does not compile with gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
Jan 23, 2010
Jason House
Jan 23, 2010
Walter Bright
Jan 31, 2010
Walter Bright
January 23, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3734

           Summary: [patch] src/traits.c does not compile with gcc (Ubuntu
                    4.4.1-4ubuntu8) 4.4.1
           Product: D
           Version: 2.040
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: jason.james.house@gmail.com


--- Comment #0 from Jason House <jason.james.house@gmail.com> 2010-01-22 20:06:10 PST ---
It looks parenthesis were accidentally forgotten.  This would probably manifest itself as some kind of bug in the future...

diff traits.c.bk traits.c
57c57
<     if (p->ident == Id::getVirtualFunctions && !f->isVirtual)
---
>     if (p->ident == Id::getVirtualFunctions && !f->isVirtual())

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


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com


--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2010-01-22 21:23:58 PST ---
Changeset 347

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 31, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3734


Walter Bright <bugzilla@digitalmars.com> changed:

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


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2010-01-30 22:48:00 PST ---
fixed dmd 2.040

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