Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
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


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.