3 Feb 2003 09:16
Re: [gs-code-review] patches needed on OpenVMS
Jacob (=Jouk) Jansen <joukj <at> hrem.stm.tudelft.nl>
2003-02-03 08:16:55 GMT
2003-02-03 08:16:55 GMT
dan.coby <at> artifex.com wrote on 31-JAN-2003 10:22:57.26 to CODE-REVIEW <at> ghostscript.com >Is this the same problem that you had if November? > >I have seen similar problems on AIX with a bad compiler setting. The >result was that the compiler thought that the filed sizes in a structure >differed between caller and callee. > >On Nov. 22, I sent: > > >It looks like that during the call of gdev_psdf_put_params everything get > >changed. BUT WHY????????? Yes, I'm stuggling with it since this summer (when the colour indices changed) > A possible cause for this problem is that sizes of fields in the structure > have a different definition between the two source modules. This causes > the compiler to create different offsets to what should be the same field. > > The most likely cause would be the size of a gx_color_index. In general > we have changed the size of a gx_color_index to 64 bits where possible. > I do not know what the situation is on VMS. (This has caused problems > with other builds on other systems.) without looking at the source : The type long on OpenVMS is 32 bits due to backwards comapatibilty with "Old" Vax systems, while on most systems it is 64 bit. Is it possible that this is a cause for the problems I see. > Try printing &gs_pdfwrite_device.params.NeverEmbed.size and see if it > changes.(Continue reading)
RSS Feed