[Issue 3734] New: [patch] src/traits.c does not compile with gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 22 20:06:12 PST 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 at puremagic.com
        ReportedBy: jason.james.house at gmail.com


--- Comment #0 from Jason House <jason.james.house at 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: -------


More information about the Digitalmars-d-bugs mailing list