minghuayao1981 / google-glog

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

x64 support? #199

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Convert solution google-glog.sln to MVS 2013 or any supporting x64 builds. 
2. Set warning level to 4.
3. Build.

What is the expected output? What do you see instead?

There are errors about inline asm, not supported in x64 MVS builds
(http://msdn.microsoft.com/en-us/library/wbk4z78b.aspx).
There are some warnings about int -> size_t,
uint32 -> size_t conversions and others.

What version of the product are you using? On what operating system?

glog-0.3.3, Windows 7 x64, MVS 2013 Express

Please provide any additional information below.

So can we convert code to x64-compatible, for example use
size_t instead of int for strlen() return value and other,
remove inline asm (debugbreak) and replace it to standart DebugBreak 
(http://msdn.microsoft.com/en-us/library/windows/desktop/ms679297(v=vs.85).aspx)
 for windows builds, 
and port it all to x64?

Original issue reported on code.google.com by dimhote...@gmail.com on 27 Apr 2014 at 8:22