public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Error with gcc 4.7.1
@ 2012-11-01 16:41 Pranith Kumar
  2012-11-01 16:56 ` Lars Gullik Bjønnes
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Pranith Kumar @ 2012-11-01 16:41 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-01 18:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-01 16:41 Error with gcc 4.7.1 Pranith Kumar
2012-11-01 16:56 ` Lars Gullik Bjønnes
2012-11-01 17:44 ` rbmj
2012-11-01 18:27   ` Jonathan Wakely
2012-11-01 18:31     ` Jonathan Wakely
2012-11-01 18:26 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).