From: Dorfelite Date: 2010-08-20T05:28:58+09:00 Subject: [ruby-core:31775] Ruby 1.9.2 redefines snprintf Hello, does anybody know _why_ 1.9.2 redefines libc symbols in r27214: int ruby_snprintf(char *str, size_t n, char const *fmt, ...); int ruby_vsnprintf(char *str, size_t n, char const *fmt, va_list ap); #undef snprintf #undef vsnprintf #define snprintf ruby_snprintf #define vsnprintf ruby_vsnprintf The linker complains about following: undefined reference to `ruby_snprintf' It's usually a hard time embedding ruby, but this is just odd and I can add an '#undef snprintf' to list of hacks you need to apply? Even if ruby isn't meant for embedding, I really consider this as bad practise. With best regards Christoph