fanzju / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

Parse error when compiling with --std=c++0x on some gcc versions #145

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use version 4.7.2 of gcc
2. compile glog with CXXFLAGS="-stdc++0x"

What is the expected output? What do you see instead?
expected: successful compile
instead: src/symbolize.cc:235:7: error: unable to find string literal operator 
'operator"" PRIuS'

What version of the product are you using? On what operating system?
debian wheezy, 32-bit. 

Please provide any additional information below.

attached is a 2-char patch that magically makes this go away.

Original issue reported on code.google.com by a...@spacemonkey.com on 16 Jan 2013 at 10:58

Attachments: