On Mon, 07 Mar 2011 03:50:29 +0100, Colomban wrote:
Le 06/03/2011 15:49, Enrico Tröger a écrit :
On Sun, 06 Mar 2011 15:29:24 +0100, Colomban wrote:
- you use va_copy() in MIO. va_copy is C99 while all the other va_*
functions are C89. So far, we tried to stay compatible with C89 even though it is old (and it is old, and old). At least some years ago, there were actually users who had to use a C89 compiler. Maybe we should just stop C89 support as we are in 2011 in the meantime...
Ah, right... I'll see if I can fix this (e.g. maybe GLib have proper stuff somewhere).
If not, we might simply drop C89 support.
I like C89 :) And no worries, it's fixed in SVN now: no more va_copy(), no more vsnprintf(). Thanks for finding this out :)
Just by accident...I just walked over the files to check the includes to ensure we don't miss anything to check for in the build systems. And so stumbled upon va_copy :).
Regards, Enrico