[tex-live] compiler error for devnag.c (clang++, OS X 10.11)

Mojca Miklavec mojca.miklavec.lists at gmail.com
Fri May 20 10:21:46 CEST 2016


Hi,

First of all, the information in
    http://tug.org/svn/texlive/trunk/Build/source/utils/devnag/AUTHORS?revision=35886&view=markup
is apparently misleading / old, it says:

~~~~~
Author : Frans J. Velthuis
Date : 09 May 1991

The maintainer of this program is now John Smith
~~~~~

I contacted John Smith who replied that he no longer maintains devnag
and that I should contact Zdenek.

I'm not even sure whether there is any other "upstream" source for
devnag or if TeX Live's SVN is considered "upstream". The man page
from "texdoc devnag" points to this mailing list.

The problem is that the source gets compiled with C++ (actually with
"clang++ -stdlib=libc++ -std=c++14"). That mostly works, but the
compiler is not particularly happy about
    void err_ill(const char *str);
    err_ill('\0')

It throws an error saying:

err_ill: no known conversion from 'char' to 'const char *' for 1st
argument void err_ill(const char *str);

I bumped into this problem when compiling "that other TeX
distribution" on OS X. I filed a report at
    https://sourceforge.net/p/miktex/patches/11/

Can someone please take a look?

Thank you,
    Mojca


More information about the tex-live mailing list