Bug 18666 - Trailing comma in initializer (a C error)
Summary: Trailing comma in initializer (a C error)
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: low minor
Assignee: poppler-bugs
QA Contact:
Keywords: janitor
Depends on:
Reported: 2008-11-22 12:07 UTC by Bernard Leak
Modified: 2008-11-23 01:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Bernard Leak 2008-11-22 12:07:02 UTC
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.
Comment 1 Albert Astals Cid 2008-11-23 01:58:55 UTC
You forgot the patch, but that one was easy so i could do it ;-)

Thanks for reporting!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.