Bug 50419 - CVS rpm 4.0.3 compile failure on Solaris
CVS rpm 4.0.3 compile failure on Solaris
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
1.0
alpha Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-07-30 22:00 EDT by Red Hat Bugzilla
Modified: 2008-03-13 15:18 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-07-30 23:00:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
rpm-4.0.3/lib/hdrinline.h "void functions return something" patch (1.46 KB, patch)
2001-07-30 22:01 EDT, Red Hat Bugzilla
no flags Details | Diff

  None (edit)
Description Red Hat Bugzilla 2001-07-30 22:00:08 EDT
rpm 4.0.3 from CVS (as of 6:00 pm CDT 07/30/2001) fails to compile on
Solaris with
the Sun Forte development environment, version 6.1.

The problem is that several functions in rpm-4.0.3/lib/hdrinline.h have
void return types,
but actually try return a value.  gcc might say "whatever", but most other
compilers will
rightfully object.

A patch is attached, though JBJ may find a better fix than just deleting
the three
inlined versions of those functions.
Comment 1 Red Hat Bugzilla 2001-07-30 22:01:34 EDT
Created attachment 25531 [details]
rpm-4.0.3/lib/hdrinline.h "void functions return something" patch
Comment 2 Red Hat Bugzilla 2001-07-30 23:00:12 EDT
This appears to be a problem with
	return (void)
that can be easily remedied with s/return //. Will do ...
Comment 3 Red Hat Bugzilla 2001-08-04 14:12:27 EDT
FIxed in my next checkin, should be in rpm-4.0.3-0.87.

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