On 1 November 2012 16:41, Pranith Kumar wrote: > Hi, > > I am getting the following error when using gcc 4.7.1 to compile: > > snprintf(temp, sizeof(temp)/sizeof(temp[0]), "%"PRIi64, value); > > error: unable to find string literal operator ‘operator"" PRIi64’ > > This compiles fine with Intel compiler. Is this a bug? Is there any > workaround? It's not a bug. See the "User-defined literals and whitespace" section of http://gcc.gnu.org/gcc-4.7/porting_to.html