http://llvm.org/bugs/show_bug.cgi?id=9984
Douglas Gregor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Douglas Gregor <[email protected]> 2011-05-22 10:27:42 CDT --- Clang is behaving correctly here (as does GCC). You can't both stringize a token and concatenate in one step. Instead, use: #define TESTL2(x) L##x #define TESTL(x) TESTL2(#x) const wchar_t* a = L"Hello World"; const wchar_t* b = TESTL(Hello World); -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
