Bug 69184 - rpmerr.h produces warning with --pedantic setting
Summary: rpmerr.h produces warning with --pedantic setting
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 1.0
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-18 18:11 UTC by Enrico Scholz
Modified: 2008-05-01 15:38 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Enrico Scholz 2002-07-18 18:11:07 UTC
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):

rpm-4.1-0.50

Comment 1 Jeff Johnson 2002-07-18 23:10:00 UTC
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.