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
Review URL: https://codereview.chromium.org/1482553002
Cr-Commit-Position: refs/heads/master@{#361806}
CrOS-Libchrome-Original-Commit: 664fe1ed1c1f42cec4b13c99e17b2ddf314f4e7c
1 file changed