Hans Peter Verne wrote:
> 
> Hi Patrick,
> 
> I think you once said this was the appropriate place to post bug reports.
> LPRng 3.8.6 has some compile issues I think you should know about.

So does ifhp 3.5.4, or at least a minor bug.

On the alpha, cc insists that (the line of the beast):

cc: Error: ../../src/perlobj.c, line 666: In this statement, "p->info.array.value" and 
"len" cannot be added. (noadd)
                        memmove(p->info.array.value+len, p->info.array.value, olen+1 );
--------------------------------^

As far as I can tell, p->info.array.value is a void*, so adding an int to
it is not allowed.  I suggest you explicitly cast it to (char *), like in the
previous line, *((char *)(p->info.array.value)+olen) = 0;

This is also the case in lines 615, 713, 813, and 837.


Regards,
--
Hans Peter       (Unix/printing sysadm, University of Oslo).

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to