Bug 69184 - rpmerr.h produces warning with --pedantic setting
Summary: rpmerr.h produces warning with --pedantic setting
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm
Version: 1.0
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
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:
Clone Of:
Environment:
Last Closed: 2002-07-18 18:11:12 UTC
Embargoed:


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.