Project

General

Profile

« Previous | Next » 

Revision 07f2062c

Added by Mark Abraham over 5 years ago

Improve string literal concatenation for C++11

Downstream C++ projects that compile with C++11 or newer and include
the generated config.h file issue compiler warnings. Both C and C++
compilers do string-literal token pasting regardless of whitespace
between the tokens to paste. C++ compilers since C++11 require such
spaces, to avoid ambiguity with the new style of string literals
introduced then. This change fixes such projects without affecting
core Ruby.