in reply to Inline C: using stderr segfaults?
A solution for anyone else encountering the bug:
#include <stdarg> void eprintf( const char *template, ... ) { va_list ap; va_start( ap, template ); vfprintf( stderr, template, ap ); va_end( ap ); } [download]