At 12:03 PM 9/1/2000 -0700, Peter Prymmer wrote:
>     char fname_phdev[NAM$C_MAXRSS+1];
>......^
>%CC-E-BADSTMT, Invalid statement.
>at line number 5605 in file DKB100:[PERL]VMS.C;1

Urk.  C 6.2 did not complain, but you are seeing this with C 6.0?

>If however, I move the declaration up closer to the top of Perl_cando()
>then I can compile:

Thanks.  That's just as well so I recommend applying that one.

>Except that I see an oddity (DCL error) in the run of gen_shrfls.pl:
>
>MCR Sys$Disk:[]miniperl.exe "-I[.lib]" "-I[.ext.re]" [.lib.extutils]xsubpp
>-noprototypes [.EXT.SOCKET]SOCKET.XS >[.EXT.SOCKET]SOCKET.C
>CC/DECC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList
>/Object=[.EXT.SOCKET]SOCKET.OBJ [.EXT.SOCKET]SOCKET.C
>MCR Sys$Disk:[]miniperl.exe "-I[.lib]" [.vms]gen_shrfls.pl -f gen_shrfls.opt
>%DCL-I-IGNQUAL, qualifiers appearing before this item were ignored
> \VERSION\

That's because gen_shrfls.pl is invoking a pre-defined cc command and 
appending /VERSION at the end.  The compiler tells you it's ignoring the 
other qualifiers when you do that.  It's not doing any harm, though it'd be 
nice to fix this in production releases.  It's doing the equivalent of this:

$ cc/prefix=all/version
%DCL-I-IGNQUAL, qualifiers appearing before this item were ignored
 \VERSION\
Compaq C V6.2-007 on OpenVMS Alpha V7.2-1

>The regression tests still skip lines:

Hmm.  I'm not seeing this at all.  Could the socket stack interacting with 
the piping changes affect this?  At the moment I'm testing with Compaq's 
TCPIP services, though I can perhaps try it on a Multinet machine as well.

>BTW Craig, what about stat ing in ODS2 deep directories, ie more that
>8 levels deep accessed with rooted logicals?  Are we sure we want to
>resolve the physical device name in cando?

The only logical name I'm replacing is the one assigned at mount time and 
that by definition refers to the entire volume.  If we encounter a directory 
depth problem, we would have had the same problem using the untinkered-with 
result of lib$fid_to_name.

_______________________________________________
Craig A. Berry                                   
mailto:[EMAIL PROTECTED]

Reply via email to