Error with gcc 4.7.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

Thanks,
Pranith


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux