3 ms·
Is that even valid C code?
by ajasmin 14y ago
Is that even valid C code?
- emillon 14y agoYes, if PRI_LL_PREFIX expands to a string literal, the literals get merged together.
- cremno 14y agoRuby supports this too but it will be removed in the future (3.0). The preview doesn't show a warning but 2.0 will. Source: https://bugs.ruby-lang.org/issues/6265 https://bugs.ruby-lang.org/issues/6265 Btw, PRI_LL_PREFIX is defined in Ruby's config.h.
- rwmj 14y agoNot as written, but it's possible that PRI_LL_PREFIX is some sort of macro expanding to a string (similar to PRIi64 which is standard C).