[Poppler-bugs] [Bug 18666] New: Trailing comma in initializer (a C error)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Nov 22 12:07:03 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18666

           Summary: Trailing comma in initializer (a C error)
           Product: poppler
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: janitor
          Severity: minor
          Priority: low
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: bernard at brenda-arkle.me.uk


It's in poppler-0.10.1/test/pdf-inspector.cc at line 44.
It's still in the live tree as I type this (I checked with cgit).

Every compiler in creation accepts this, but I compile with
gcc -pedantic, which (correctly) complains about the trailing comma.

I think the menu of components for reporting bugs against
should include a "tests" option.

A patch is attached.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list