Bug 69184 - rpmerr.h produces warning with --pedantic setting
rpmerr.h produces warning with --pedantic setting
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2002-07-18 14:11 EDT by Enrico Scholz
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-07-18 14:11:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2002-07-18 14:11:07 EDT
Description of Problem:

| $ cat re.c 
| #include <rpmlib.h>
| $ gcc -I /usr/include/rpm -pedantic -c re.c 
| In file included from /usr/include/rpm/rpmlib.h:10,
|                 from re.c:1:
| /usr/include/rpm/rpmerr.h:137: warning: comma at end of enumerator list

(Common API interfaces should be compilable without warnings to enable e.g.
compilations with '-Werror' flag)

Version-Release number of selected component (if applicable):

Comment 1 Jeff Johnson 2002-07-18 19:10:00 EDT
FIxed in in my next checkin, should be in rpm-4.1-0.51
when built.

Note You need to log in before you can comment on or make changes to this bug.