Subject: | 2 compiler warnings using CC/DECC on VMS |
Hello and thanks for Data::Bind,
When building on VMS using CC/DEC with relaxed ANSI I get 2 compiler
warnings, a missing return and a pointer mismatch:
CC/DECC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj
/NOANSI_ALIAS/float=ieee/ieee=denorm/Define=("VERSION=""0.28""","XS_VERSION=""0.28""")/Include=(perl_root:[lib.VMS_IA64.5_8_7.CORE])/NoList
BIND.c
static int
^
%CC-W-MISSINGRETURN, Non-void function "alias_mg_set" does not contain a
return statement.
at line number 56 in file <removed>DATA-BIND-0_28]BIND.XS;1
hv_store(SvRV(tie), "real", 4, newRV_inc((SV *)b), 0);
.........................^
%CC-W-PTRMISMATCH, In this statement, the referenced type of the pointer
value "((XRV ...)(tie)->sv_any)->xrv_rv" is "struct sv", which is not
compatible with "struct hv".
at line number 205 in file <removed>DATA-BIND-0_28]BIND.XS;1
Cheers,
Peter (Stig) Edwards