Nicholas Clark wrote:
I'm trying to hammer out the problems with maint on VMS using testdrive.
I've hit a problem that i can't solve:

$ mms pp_sys.obj

$mms/macro=__DEBUG__=1 pp_sys.obj

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

    PUSHi( PerlDir_chdir(tmps) >= 0 );
....^
%CC-W-NOTCONSTQUAL, In this statement, the referenced type of the pointer value
"((tmps))" is const, but the referenced type of the target of this assignment is
 not.
at line number 3500 in file USER1:[NWC10.25714]PP_SYS.C;1

This looks like something that got cleaned up in blead a few months back. The const qualifiers were missing from many routines in vmsish.c and vms.c. And I had to fix some code that was making modifications to the "const" data to no longer do so.

I can't work out what those lines are expanding to. How do I run just the
C pre-processor? The mm description doesn't seem to have a rule to do this.

$help cc /preprocess_only

With the current descrip.mms from blead, the /macro=__DEBUG__=1 will produce a listing file that has all the macro definitions expanded and all include files shown.

-John
[EMAIL PROTECTED]
Personal Opinion Only

Reply via email to