http://breakpad.appspot.com/250001/diff/1/4 File src/processor/logging.h (right): http://breakpad.appspot.com/250001/diff/1/4#newcode71 Line 71: // These are defined in Microsoft headers. On ...
http://breakpad.appspot.com/250001/diff/1/4 File src/processor/logging.h (right): http://breakpad.appspot.com/250001/diff/1/4#newcode71 Line 71: // These are defined in Microsoft headers. Ted ...
http://breakpad.appspot.com/250001/diff/1/4
File src/processor/logging.h (right):
http://breakpad.appspot.com/250001/diff/1/4#newcode71
Line 71: // These are defined in Microsoft headers.
Ted Mielczarek wrote:
> I agree. Would you prefer I used #pragma push_macro / pop_macro?
> http://msdn.microsoft.com/en-us/library/2bs04eza%28v=vs.71%29.aspx
I’d prefer not having a collision at all, but that’s not really an option here.
Popping the old value of the macro still sucks when other Breakpad code needs to
use SEVERITY_ERROR or ERROR. Maybe it even sucks more.
I just wanted to point out the disgust in case it was maybe possible to avoid
the Windows header that clashes altogether.
http://breakpad.appspot.com/250001/diff/1/4 File src/processor/logging.h (right): http://breakpad.appspot.com/250001/diff/1/4#newcode71 Line 71: // These are defined in Microsoft headers. On ...
http://breakpad.appspot.com/250001/diff/1/4
File src/processor/logging.h (right):
http://breakpad.appspot.com/250001/diff/1/4#newcode71
Line 71: // These are defined in Microsoft headers.
On 2011/01/11 19:54:51, Mark Mentovai wrote:
> I just wanted to point out the disgust in case it was maybe possible to avoid
> the Windows header that clashes altogether.
There are no collisions in the processor code, since it doesn't include
windows.h. I believe I hit this when adding the headers to an existing Windows
unittest in a patch that's sitting in my patch queue, probably here:
http://hg.mozilla.org/users/tmielczarek_mozilla.com/breakpad-mq/file/e6f3de86...
Since it follows the style guide and includes system headers first, it runs into
this problem.
Issue 250001: Allow building parts of processor code on Win32
(Closed)
Created 13 years, 10 months ago by Ted Mielczarek
Modified 13 years, 10 months ago
Reviewers: Mark Mentovai
Base URL:
Comments: 5