http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50917
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|rejects-valid |
--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de>
2011-10-30 09:28:51 UTC ---
IOW:
% cat test.cpp
#include <cstdio>
#define MOZ_DLL_SUFFIX ".so"
int main () {
char lastSlash[4096];
snprintf(lastSlash, 4096 , "/" "libxul"MOZ_DLL_SUFFIX);
}
% g++ test.cpp -std=gnu++0x
test.cpp: In function ‘int main()’:
test.cpp:5:34: error: unable to find user-defined string literal operator
‘operator"" MOZ_DLL_SUFFIX’