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

This means that the routine that the macro UNLINK is eventually defined as pointing to is missing a const qualifier on it's argument.

Finding out exactly what it is not happy about looks like it will require a listing that expands macro expansions, and possibly one that shows the contents of the include files.

The CRTL unlink() call has the const qualifier as required by X/OPEN.

-John
[EMAIL PROTECTED]
Personal Opinion Only



Reply via email to