acimpoeru / google-glog

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

logging_fail() uses __asm which is unavailable on x64 arch #180

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Compile glog 0.3.3 for x64 arch on windows

What is the expected output? What do you see instead?
Expected to compile.  Instead the compiler complains about using the inline 
assembler (i.e. __asm) instruction.

What version of the product are you using? On what operating system?
0.3.3, Windows 7, x64

Please provide any additional information below.
Use the __debugbreak() compiler intrinsic instead, as it will generate 
equivalent instructions on x64 and produce "asm int 3" on x86.

Original issue reported on code.google.com by and...@spacemonkey.com on 8 Jan 2014 at 4:14