Re: 2.99.2 xdvik does not detect multiple definition handling on IRIX

Stefan Ulrich <[email protected]> Mon, 8 Nov 2004 13:34:43 GMT
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
Ezra Peisach <[email protected]> wrote :

> b) The BUGS file which is cited - does not exist explaining the problem.

It should be the second item in `X interface bugs' in
texk/xdvik/BUGS - I guess I'd better number the items.
(is the BUGS file in the sources tarball?)

> c) xdvi.h defines XDVI_XT_XDVI_XT_TIMER_HACK instead of
> XDVI_XT_TIMER_HACK...
>    and is not used then... Looks like a typo error.

Yup, Thomas sent a diff for that to the list, but the tarball hasn't
been updated yet (luckily, given the additional goof-ups below ...)

> i.e. the definition of the function is in the function main!  This is
> clealy not what is desired!!!

Indeed - gcc with `-ansi -pedantic' only gives a warning in this case,
which is why I didn't realize this; thanks for the patch!

There's another error in setting LIBS in line 82 of aclocal.m4:

    LIBS="$X_PRE_LIBS -lXm -lXt -lX11 $X_EXTRA_LIBS $LIBS"

should be:

    LIBS="$X_PRE_LIBS -lXt -lX11 $X_EXTRA_LIBS $LIBS"


I'll try to release a fixed version of xdvik this evening that
Thomas can put into the next tarball - sorry for the hassle ...


Best,
Stefan
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.