Article View: news.software.readers
Article #69973Re: [slrn] cleanscore errors
From: Garry Williams
Date: Tue, 02 Jan 2001 23:20
Date: Tue, 02 Jan 2001 23:20
48 lines
3010 bytes
3010 bytes
On Tue, 2 Jan 2001 22:35:19 +0000 (UTC), Felix Schueller
<fschueller@netcologne.de> wrote:
>At Sun, 24 Dec 2000 Guenter Resch wrote:
>Sorry for my late answer but i'm very busy and there's some trouble in
>other groups.
>
>>>Can you mail me all messages shown by cleanscore when it runs? (You can
>>>strip all debuginfos concern your Scorefile, of course) And in what
>>>environment (perl version, comandline options etc) it runs?
>>only in case someone else is interested, too, here is all the stuff you
>>asked to send. The error messages from the standard error output:
>
>>main::end_of_score() called too early to check prototype at
>>News/cleanscore/cleanscore line 143.
>
>Strange.
>
>>I'm running cleanscore on a RedHat 7.0 system with perl-5.6.0-9
>>installed; cleanscore is called w/o any commandline options.
>
>I think its an problem with newer versions of perl. I run cleanscore with
>perl 5.004 and perldiag don't list this error. I try to get an aktuall
>version of perl working on my system and check this out.
I don't have a copy of the code giving the error, but maybe I can help
with the debugging anyway. Here's the perldiag section from perl
5.6.0 for that error:
%s() called too early to check prototype
(W prototype) You've called a function that has a
prototype before the parser saw a definition or
declaration for it, and Perl could not check that the
call conforms to the prototype. You need to either add
an early prototype declaration for the subroutine in
question, or move the subroutine definition ahead of the
call to get proper prototype checking. Alternatively,
if you are certain that you're calling the function
correctly, you may put an ampersand before the name to
avoid the warning. See the perlsub manpage.
Sounds fairly benign.
--
Garry Williams
Technical Details
Message-ID:
<Mmt46.1045$Dm5.29839@eagle.america.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mindspring.net!falcon.america.net!eagle.america.net.POSTED!garryReferences:
<o8s229.ffa.ln@rpc1.imb.oeaw.ac.at> <slrn94ablr.t44.fschueller@fschueller.cologne.de> <caj429.4r.ln@rpc1.imb.oeaw.ac.at> <slrn954lt6.ahe.fschueller@fschueller.cologne.de>Show Full Headers
Complete Article Headers
Message-ID: <Mmt46.1045$Dm5.29839@eagle.america.net> Subject: Re: [slrn] cleanscore errors Date: Tue, 02 Jan 2001 23:20:12 GMT From: garry@zvolve.com (Garry Williams) References: <o8s229.ffa.ln@rpc1.imb.oeaw.ac.at> <slrn94ablr.t44.fschueller@fschueller.cologne.de> <caj429.4r.ln@rpc1.imb.oeaw.ac.at> <slrn954lt6.ahe.fschueller@fschueller.cologne.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.mindspring.net!falcon.america.net!eagle.america.net.POSTED!garry Newsgroups: news.software.readers Organization: Zvolve Systems, Inc. User-Agent: slrn/0.9.6.2 (SunOS) Lines: 47 NNTP-Posting-Host: 216.3.26.18 X-Trace: eagle.america.net 978477612 216.3.26.18 (Tue, 02 Jan 2001 18:20:12 EST) NNTP-Posting-Date: Tue, 02 Jan 2001 18:20:12 EST