[tex-live] portability issue in texmfmp.c

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Sun Dec 31 01:00:13 CET 2006


> With gcc 4.0.3 on Ubuntu, using -pedantic (and *not* -std=c99) gives:
>    warning: ISO C90 forbids mixed declarations and code
> but does not actually halt with an error (unfortunately... it should,  
> IMO). -std=c99 (with or without -pedantic) will suppress this because  
> C99 allows this usage, but Vladimir's compiler on AIX and Akira's on  
> W32 (at least) do not support C99, AFAIK.

My ms vc++ does not support C99. I'm moving declaration when
I encounter relevant error message.
static char *strip_spaces_and_delims(char *s, int l) in writettf.c
is an another example.


More information about the tex-live mailing list