Re: .99.2 release Irix problems with dvipng
Olaf Weber <[email protected]>
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Message-ID | <[email protected]> |
ezra peisach writes:
> There are several issues with the use using a void * in arithmetic.
> Essentially - the code assumes that a (void * ) + 1 is
> the same as a (char *) + 1. I am not sure that is totally legal as
> when adding to a pointer - when moves by the size of what one is pointing to.
> The Irix error is:
>>> The expression must be a pointer to a complete object type.
Pointer arithmetic on void* is a GNU extension. It shouldn't be used
in code that tries to be portable.
--
Olaf Weber
(This space left blank for technical reasons.)