27 Apr '12, 12pm

@Poapfel Hatte ich gestern gleich versucht, mit zu erledigen; klemmt aber wegen

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

Full article: http://www.ruby-forum.com/topic/215313


@ijonas Even Ruby people think that's a bad idea

railstips.org 03 May '12, 9am

The only people that don’t like “unless” are either: A) Old school programmers, which I can understand. B) Blog followers,...