At 6:47 AM +0300 5/14/02, Jarkko Hietaniemi wrote:
>On Mon, May 13, 2002 at 10:41:45PM -0500, Craig A. Berry wrote:
>> At 3:17 AM +0300 5/14/02, Jarkko Hietaniemi wrote:
>>
>> >How is VMS with ithreads?
>>
> > Not good. I think it's been ages since anyone tried, but here's what I get now:
>>
>> CC/DECC/NOANSI_ALIAS
>/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList/float=ieee/ieee=denorm_results/Define=PERL_CORE
> MI
>> NIPERLMAIN.C
>>
>> } REENTR;
>> ^
>> %CC-W-EMPTYSTRUCT, Allowing struct/union type with no members is a language
>extension.
> > at line number 746 in file D0:[CRAIG.PERL]REENTR.H;1
>> %MMK-F-ERRUPD, error status %X10B91260 occurred when updating target
>MINIPERLMAIN.OBJ
>
>Hmmm. Try just adding
>
> int dummy;
>
>before the } REENTR; Not that I'm expecting that to fix everything,
>but at least we'll see what happens next...
The compile gets quite a bit further but it looks like reentr.h messes up the signal
handling prototypes:
CC/DECC/NOANSI_ALIAS
/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoList/float=ieee/ieee=denorm_results/Define=PERL_CORE
UT
IL.C
if (sigaction(signo, &act, &oact) == -1)
.........^
%CC-W-CVTDIFTYPES, In this statement, "signo" of type "int", is being converted to
"pointer to struct interpreter".
at line number 2360 in file D0:[CRAIG.PERL]UTIL.C;1
if (sigaction(signo, &act, &oact) == -1)
.........^
%CC-W-CVTDIFTYPES, In this statement, "&act" of type "pointer to struct sigaction", is
being converted to "int".
at line number 2360 in file D0:[CRAIG.PERL]UTIL.C;1
if (sigaction(signo, &act, &oact) == -1)
.........^
%CC-E-TOOFEWARGS, In this statement, "Perl_my_sigaction" expects 4 arguments, but 3
are supplied.
at line number 2360 in file D0:[CRAIG.PERL]UTIL.C;1
I'll try to pursue this further tomorrow. In general, varying levels
of reentrancy are obtainable via compiler switches without recourse
to the _r versions of RTL routines, one exception being the time
routines. This is all described in more detail here:
http://www.openvms.compaq.com/commercial/c/5763p005.html#re_ent
--
____________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]
"Literary critics usually know what they're
talking about. Even if they're wrong."
-- Perl creator Larry Wall