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 ); }
In reply to Re: Inline C: using stderr segfaults? (A solution)
by BrowserUk
in thread Inline C: using stderr segfaults?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |