allenhoum / google-glog

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

Compiler error occured when build using x64 #137

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. build x64
2.
3.

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

error C4235: nonstandard extension used : '_asm' keyword not supported on this 
architecture

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

Please provide any additional information below.

I find the old issue. but it didn't commit.
Are there any problem?? Please let me know

Thanks a lot!!

Original issue reported on code.google.com by sioe...@gmail.com on 23 Nov 2012 at 1:50

GoogleCodeExporter commented 8 years ago
It's fine when I use ' __debugbreak(); ' instead of ' _asm int 3'

static void logging_fail() {
#if defined(_DEBUG) && defined(_MSC_VER)
  // When debugging on windows, avoid the obnoxious dialog and make
  // it possible to continue past a LOG(FATAL) in the debugger
 __debugbreak(); 
#else
  abort();
#endif
}

Original comment by sioe...@gmail.com on 23 Nov 2012 at 1:52

GoogleCodeExporter commented 8 years ago
why '__debugbreak()' is still not accepted?

Original comment by ich...@gmail.com on 8 Jan 2014 at 2:18