Re: .99.2 release Irix problems with dvipng

David Kastrup <[email protected]>
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
ezra peisach <[email protected]> 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.

It is illegal, but a GNU extension.  Any compiler but gcc will barf on
it.

In short, it is a good idea to try compiling something with
gcc -ansi
if you want to be somewhat more sure that it will also work with
non-gcc compilers.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.