Mail Archives: djgpp/2005/09/11/21:40:26
The libc.a reference documents this:
#include <stdio.h>
int snprintf (char *buffer, size_t n, const char *format,
...);
But when I try to compile nasm 0.98.39 I get warnings about
incompatible implicit declarations when compiling, as well as
unresolved references when linking.
This applies to DJGPP 2.03. I upgraded gcc to 4.0.1 to see
if there was a difference, but there wasn't. According to
the GCC manual snprintf is built-in, but that doesn't seem
to help. The same goes for vsnprintf().
-aw
- Raw text -