develooper Front page | perl.perl5.porters | Postings from December 2001

[PATCH] from the non-ANSI comment police (was: it won't compile on win32)

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
December 29, 2001 11:39
Subject:
[PATCH] from the non-ANSI comment police (was: it won't compile on win32)
Message ID:
20011229203646.24CF.H.M.BRAND@hccnet.nl
On Sat 29 Dec 2001 19:17, Nicholas Clark <nick@unfortu.net> wrote:
> Presumably this bit of NetWare/nw5.c needs to be promoted to the core in some
> way that is friends with WIN32?
> 
> #ifdef USE_ITHREADS
> PerlInterpreter *
> perl_clone_host(PerlInterpreter* proto_perl, UV flags)
> {
> 	// Perl Clone is not implemented on NetWare.
        ^^
ALARM ALARM !!! Non-ansi comment detected!!!

(Though this is only for NetWare, I don't care. I think I'm going to chase
 down the whole source tree for these ERRORs)

Patch attached. Netware still skipped, because it has sooooooo many wrong
comments. I'd submit a patch to that buggy way of programming if it is
requested. (Hint: you should)

>     return NULL;
> }
> #endif
> 
> Nicholas Clark


-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.7.2 & 630 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About