Mailing List Archive

5.002b1d on HP-UX 9.05
5.002b1d gives the following compiler warnings:

cc: "DynaLoader.c", line 176: warning 604: Pointers are not assignment-compatibl
e.
cc: "DynaLoader.c", line 176: warning 563: Argument #1 is not the correct type.
cc: "DynaLoader.c", line 177: warning 604: Pointers are not assignment-compatibl
e.
cc: "DynaLoader.c", line 177: warning 563: Argument #1 is not the correct type.
cc: "DynaLoader.c", line 178: warning 604: Pointers are not assignment-compatibl
e.
cc: "DynaLoader.c", line 178: warning 563: Argument #1 is not the correct type.
cc: "DynaLoader.c", line 179: warning 604: Pointers are not assignment-compatibl
e.
cc: "DynaLoader.c", line 179: warning 563: Argument #1 is not the correct type.
cc: "DynaLoader.c", line 180: warning 604: Pointers are not assignment-compatibl
e.
cc: "DynaLoader.c", line 180: warning 563: Argument #1 is not the correct type.

These are all five lines that use "newXSproto".

However, it passes all tests just fine.

Jeff
Re: 5.002b1d on HP-UX 9.05 [ In reply to ]
On Mon, 4 Dec 1995, Jeff Okamoto wrote:

> 5.002b1d gives the following compiler warnings:
>
> cc: "DynaLoader.c", line 176: warning 604: Pointers are not assignment-compatibl
> e.
> cc: "DynaLoader.c", line 176: warning 563: Argument #1 is not the correct type.

[etc.]

Yeah, I saw them too. Paul's already sent me a fix and I'll have it out
by the end of the week.

Andy Dougherty doughera@lafcol.lafayette.edu
Re: 5.002b1d on HP-UX 9.05 [ In reply to ]
As was said before, if you follow the directions...

I had some problems initially, but after re-reading the patches and following
the instructions there, 2b1d built fine on my HP 712 running 9.05.

Randy
--
^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^
Randy J. Ray -- U S WEST Technologies IAD/CSS/DPDS Phone: (303)595-2869
Denver, CO rjray@lookout.ecte.uswc.uswest.com

I don't suffer from insanity. I enjoy every minute of it.
Re: 5.002b1d on HP-UX 9.05 [ In reply to ]
>>>>> "jeff" == Jeff Okamoto <okamoto@hpcc123.corp.hp.com> writes:

jeff> 5.002b1d gives the following compiler warnings:
jeff> cc: "DynaLoader.c", line 176: warning 604: Pointers are not assignment-compatibl
jeff> e.


On the Indy we have a very picky compiler that dies on prototype mismatch:

cfe: Error: DynaLoader.c, line 254: Type int of this argument is incompatible with type SV * of function prototype description (3.3.16.1)
sv_setpv(newXS("DynaLoader::dl_load_file", XS_DynaLoader_dl_load_file, file), "$") ;
----------------------^


Same message for lines 255 thru 258.



The old xsubpp doesn't produce the error, so I'm running 5.002b1d with
the previous xsubpp.


andreas