Hello,
> >
> >The build fails in vms.c with he following error message:
> >
> >
> >CC/DECC/NOANSI_ALIAS 
> >/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/NoLis
> >t/float=ieee/ieee=denorm/Define=(PERL_CORE,_LARGEFILE=1) VMS.C
> >
> >        case_perm = PPROP$K_CASE_BLIND;
> >....................^
> >%CC-E-UNDECLARED, In this statement, "PPROP$K_CASE_BLIND" is not declared.
> >at line number 13603 in file DISK$USER:[ZINSER.TMP.PERL]vms.c;1
> >
> >    if ((case_perm == PPROP$K_CASE_SENSITIVE) ||
> >......................^
> >%CC-E-UNDECLARED, In this statement, "PPROP$K_CASE_SENSITIVE" is not 
> >declared.
> >at line number 13607 in file DISK$USER:[ZINSER.TMP.PERL]vms.c;1
> >code.
...
> 
> 
> I would have thought this:
> 
> http://public.activestate.com/cgi-bin/perlbrowse/p/26845
> 

Did some more digging. First ppropdef.h is only included for VMS 7.3-1 and
higher (lines 48-50)

#if __CRTL_VER >= 70301000 && !defined(__VAX)
#include <ppropdef.h>
#endif


so the macros area really not to be expected to be available to the code in 
the first place for 7.3.

Now, the include is also available on 7.3 (and most probably earlier, the 
comments in the code indicate it is around at least since 2001), but the 
macros needed here are not yet defined in the module.

So, yes if you do want to avoid version checking in the code, it most 
probably would be best to check for definedness of the macros.

All the best,

Martin


Dr. Martin P.J. Zinser                  [EMAIL PROTECTED]
Deutsche Boerse Systems Inc.                        
233 South Wacker Drive                  Tel: +1-312-544-1027 
Suite 2455                              FAX: +1-312-544-1301
Chicago, IL, 60606                           
USA                                     Private:  [EMAIL PROTECTED]

Reply via email to