[tex-live] K&R C compilers.

Stefan Ulrich stefan.ulrich@dsl.pipex.com
Fri, 3 Jan 2003 13:19:39 +0000

Olaf Weber <olaf@infovore.xs4all.nl> writes:

> Does anyone know whether it would be feasible to assume that all the
> compilers used to compile TeX-live are ANSI C?  Or least that they
> support the following:

> - void
> - prototypes
> - stdarg.h (for variadic functions)

My main argument pro ANSI-C is T1lib, which is used by both xdvik
and xpdf in the default builds and uses all these features;
e.g. in t1base.h:
void T1_PrintLog( char *func_ident, char *msg_txt, int level, ...);

In xdvik-22.40o (released 2002-10-16), we've effectively disabled
all K&R compatibility macros and decided to go for ANSI C only,
and we've had no complaints so far.