liurenhua / google-breakpad

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

Compile time errors on OS X Yosemite #628

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile google-breakpad on OS X Yosemite Version: 10:10

What is the expected output? What do you see instead?
It should compile out of the box, but i get compile time errors. I get below 
compile time error...

breakpad/src/processor/synth_minidump.cc:44:7: error: 'this' pointer cannot be 
null in well-defined C++ code; pointer may be assumed to always convert to true 
[-Werror,-Wundefined-bool-conversion]
  if (this)
  ~~  ^~~~
1 error generated.

I am using clang to compile google-breakpad

What version of the product are you using? On what operating system?
I see this problem with latest trunk as well, OS X Yosemite Version: 10:10

Please provide any additional information below.

Original issue reported on code.google.com by saqlain....@hansoft.com on 23 Jan 2015 at 3:58