Hi, --- ./missing/snprintf.c: In function `xyzprintf': ./missing/snprintf.c:376: `short int' is promoted to `int' when passed through `...' ./missing/snprintf.c:376: (so you should pass `int' not `short int' to `va_arg') ./missing/snprintf.c:392: `short unsigned int' is promoted to `int' when passed through `...' ./missing/snprintf.c:402: `short unsigned int' is promoted to `int' when passed through `...' ./missing/snprintf.c:412: `short unsigned int' is promoted to `int' when passed through `...' ./missing/snprintf.c:422: `short unsigned int' is promoted to `int' when passed through `...' --- On Red Hat Linux 7, compile fails. Apparently this is caused by gcc "2.96" which is stricter about the correctness of the code. Other snprintf implementations, e.g. one in OpenSSH, compile fine. Anyone more intimate with missing/snprintf.c? It's such an essential function I wouldn't want just to make it work (compared to making it right). -- Pekka Savola "Tell me of difficulties surmounted, Netcore Oy not those you stumble over and fall" Systems. Networks. Security. -- Robert Jordan: A Crown of Swords - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe
