pwh11 / google-glog

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

V0.3.3 build error under VS 2013 (v120) #225

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Open libglog_static project
2. Build

Generates following errors:

Error   2   error C2039: 'min' : is not a member of 
'std'   c:\projects\glog-0.3.3\src\logging.cc   75  1   libglog_static

...

I'm using version 0.3.3

Adding #include<algorithm> in logging.cc fixed it

Original issue reported on code.google.com by mouradIs...@gmail.com on 9 Dec 2014 at 2:41