Bug 80755 - <rpm/rpmds.h> uses reserved C++ keywords
Summary: <rpm/rpmds.h> uses reserved C++ keywords
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: rpm
Version: phoebe
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-12-30 22:15 UTC by Kjetil T. Homme
Modified: 2007-04-18 16:49 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-12-30 23:26:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Kjetil T. Homme 2002-12-30 22:15:21 UTC
Description of problem:

<rpm/rpmds.h> includes these lines:

int rpmdsFind(rpmds ds, /*@null@*/ rpmds thisel)
int rpmdsMerge(/*@out@*/ rpmds * dsp, /*@null@*/ rpmds this)

when included in a C++ program, the compiler bombs out with syntax error since
"this" is a reserved keyword.

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

rpm-devel-4.2-0.25.1

How reproducible:

Always.

Steps to Reproduce:
1.
2.
3.
    
Actual results:


Expected results:


Additional info:

Comment 1 Jeff Johnson 2002-12-30 23:26:37 UTC
Fixed.


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