Bug 155977 - non-void function "constant" should return a value
non-void function "constant" should return a value
Product: Fedora
Classification: Fedora
Component: newt-perl (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
Depends On:
  Show dependency treegraph
Reported: 2005-04-26 08:37 EDT by David Binderman
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 1.08-10
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-12-14 10:16:10 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Binderman 2005-04-26 08:37:33 EDT
Description of problem:

I just tried to compile newt-perl-1.08-8 from Redhat
Fedora Core development tree with the most excellent Intel C

The compiler said

Newt.xs(99): warning #117: non-void function "constant" should return a value

The source code is

            return H_NEWT;

I'm not sure what the fix is for this. 

Maybe H_NEWT is #defined to be blank, and that is what is upsetting
the compiler ?

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Joe Orton 2006-12-14 10:16:10 EST
This is fixed in Raw Hide, thanks for the report.

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