Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(105)

Issue 250001: Allow building parts of processor code on Win32 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by Ted Mielczarek
Modified:
13 years, 10 months ago
Reviewers:
Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Visibility:
Public.

Description

I want to use some of the processor code for unit tests on Win32, so this fixes
compilation of just enough of it with VC++ for me to do what I want.

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/google_breakpad/processor/minidump.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/processor/logging.cc View 1 chunk +8 lines, -0 lines 1 comment Download
M src/processor/logging.h View 1 chunk +9 lines, -0 lines 4 comments Download
M src/processor/minidump.cc View 3 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 5
Ted Mielczarek
13 years, 10 months ago #1
Mark Mentovai
LGTM http://breakpad.appspot.com/250001/diff/1/3 File src/processor/logging.cc (right): http://breakpad.appspot.com/250001/diff/1/3#newcode47 Line 47: #ifdef _WIN32 Outside of the namespace, please. ...
13 years, 10 months ago #2
Ted Mielczarek
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 ...
13 years, 10 months ago #3
Mark Mentovai
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 ...
13 years, 10 months ago #4
Ted Mielczarek
13 years, 10 months ago #5
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.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted