Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Issue 893393002: win: Locally disable allocation alignment warning (Closed)

Created:
5 years, 10 months ago by scottmg
Modified:
5 years, 10 months ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@minidump-next
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

win: Locally disable allocation alignment warning A (somewhat cursory) inspection leads me to believe that there's no particular alignment requirements for this object at this location, so this warning can be ignored. d:\src\crashpad\crashpad\minidump\minidump_context_writer.cc(43) : error C2220: warning treated as error - no 'object' file generated d:\src\crashpad\crashpad\minidump\minidump_context_writer.cc(43) : warning C4316: 'crashpad::MinidumpContextAMD64Writer' : object allocated on the heap may not be aligned 16 R=mark@chromium.org BUG=crashpad:1 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/2b46aaabda6c4f38bce600d388b878cfd1212ab0

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : x86 only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M minidump/minidump_context_writer.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
scottmg
5 years, 10 months ago (2015-02-04 06:33:01 UTC) #1
Mark Mentovai
LGTM. I believe that this is fine too. I’m a little surprised to see the ...
5 years, 10 months ago (2015-02-04 21:39:43 UTC) #2
scottmg
On 2015/02/04 21:39:43, Mark Mentovai wrote: > LGTM. I believe that this is fine too. ...
5 years, 10 months ago (2015-02-04 21:49:02 UTC) #3
Mark Mentovai
OK, that ought to be fine. Can you limit the warning-disabling to 32-bit x86 with ...
5 years, 10 months ago (2015-02-04 22:25:34 UTC) #4
scottmg
Committed patchset #3 (id:40001) manually as 2b46aaabda6c4f38bce600d388b878cfd1212ab0 (presubmit successful).
5 years, 10 months ago (2015-02-05 01:36:42 UTC) #6
scottmg
5 years, 10 months ago (2015-02-05 01:36:48 UTC) #7
Message was sent while issue was closed.
On 2015/02/04 22:25:34, Mark Mentovai wrote:
> OK, that ought to be fine. Can you limit the warning-disabling to 32-bit x86
> with && defined(ARCH_CPU_X86) then?

Done.

Powered by Google App Engine
This is Rietveld 408576698