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

Issue 1482553002: Remove problematic-and-ignored ALIGNAS(4) (Closed)

Created:
5 years ago by brucedawson
Modified:
5 years ago
Reviewers:
jam, sky
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove problematic-and-ignored ALIGNAS(4) VC++ 2015 says: warning C4359: 'mojo::edk::TokenSerializerMessage': Alignment specifier is less than actual alignment (8), and will be ignored. This is because TokenSerializerMessage contains a uint64_t member which, on VC++ builds (even 32-bit builds) is 8-byte aligned by the compiler. The __declspec(align()) directives can increase alignment requirements but they cannot decrease them. Therefore the directive is ignored. The directive is also ignored in VC++ 2013, but there it is ignored silently. See the bug for details. MSDN explicitly says: __declspec(align(#)) can only increase alignment restrictions. BUG=561697, 440500 Committed: https://crrev.com/664fe1ed1c1f42cec4b13c99e17b2ddf314f4e7c Cr-Commit-Position: refs/heads/master@{#361806}

Patch Set 1 #

Patch Set 2 : Applying fix to renamed file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M mojo/edk/system/broker_messages.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (10 generated)
sky
I am not at all familiar with this. John wrote it. Given the writeup in ...
5 years ago (2015-11-25 21:14:15 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1482553002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1482553002/1
5 years ago (2015-11-25 21:18:32 UTC) #5
jam
lgtm
5 years ago (2015-11-25 21:18:34 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/128230) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
5 years ago (2015-11-25 21:22:46 UTC) #8
brucedawson
Any idea what these errors are? I have clearly broken some important rule about creating ...
5 years ago (2015-11-25 22:07:59 UTC) #9
jam
On 2015/11/25 22:07:59, brucedawson wrote: > Any idea what these errors are? I have clearly ...
5 years ago (2015-11-25 22:24:16 UTC) #10
sky
That file has been nuked. John likely knows more.
5 years ago (2015-11-25 22:25:48 UTC) #11
brucedawson
On 2015/11/25 22:25:48, sky wrote: > That file has been nuked. John likely knows more. ...
5 years ago (2015-11-25 22:28:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1482553002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1482553002/20001
5 years ago (2015-11-25 22:37:02 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) ios_rel_device_ninja on ...
5 years ago (2015-11-26 00:42:18 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1482553002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1482553002/20001
5 years ago (2015-11-26 02:27:40 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-11-26 02:44:18 UTC) #21
commit-bot: I haz the power
5 years ago (2015-11-26 02:45:13 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/664fe1ed1c1f42cec4b13c99e17b2ddf314f4e7c
Cr-Commit-Position: refs/heads/master@{#361806}

Powered by Google App Engine
This is Rietveld 408576698