Abe Timmerman wrote:
Hi all,

Blead on VMS is still not building. This is on the hp-testdrive machine SPE180:

CC/DECC/NOANSI_ALIAS /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/
NoList/float=ieee/ieee=denorm/Define=PERL_CORE DOIO.C

                if (UNLINK(s))
....................^
%CC-W-NOTCONSTQUAL, In this statement, the referenced type of the pointer value "(s)" is const, but the referenced type of the target of this assignment is not.
at line number 1838 in file USER1:[ABELTJE.PERL-CURRENT]DOIO.C;1

Ok, I am reproducing the problem now. There seems to be two different cases, one for if you build with -dunlink_all_versions and one with default. My last build attempt was with -dunlink_all_versions.

In order to get more useful information in the listings when Perl is built in debug on OpenVMS, the following patch is needed.

It gives the assembler code, and shows all the macro expansions. The second is what I need to track down what routines are missing the "const" modifier.

-John
[EMAIL PROTECTED]
Personal Opinion Only
--- vms/descrip_mms.template_blead      Sun Jul 24 17:29:21 2005
+++ vms/descrip_mms.template    Sun Jul 24 17:33:34 2005
@@ -123,7 +123,7 @@
 .else
 XTRAOBJS = 
 LIBS1 = $(XTRAOBJS)
-DBGSPECFLAGS = /Show=All
+DBGSPECFLAGS = /Show=(expansion,include)/machine
 # Some versions of DECCRTL on AXP have a bug in chdir() which causes the change
 # to persist after the image exits, even when this was not requested, iff
 # SYSNAM is enabled.  This is fixed in CSC Patch # AXPACRT04_061, but turning

Reply via email to