This patch supports using '__unaligned' attribute in function declaration:
struct UnalignedS {
void foo(double) __unaligned { ; }};
void bar(void (UnalignedS::*pf)(double)__unaligned);
Olga Chupina,
Software Engineer,
Intel Compiler Team
|  Differential  D17709  
[MSVC Compat] Support for '__unaligned' attribute in function declaration Authored by olga.a.chupina on Feb 29 2016, 3:38 AM. 
Details 
 This patch supports using '__unaligned' attribute in function declaration: struct UnalignedS { void foo(double) __unaligned { ; }}; void bar(void (UnalignedS::*pf)(double)__unaligned); Olga Chupina, 
Diff Detail Event Timeline
 Comment Actions Unless there is a compelling example of Microsoft or a popular third-party header relying on this behavior, I don't think we should implement it. 
 Comment Actions Agreed. 
 | ||||||||||||||||||||
MSDN suggests that __unaligned is only valid on a pointer declaration. Is there something this is expected to support, or does MSVC just happen to silently accept the keyword in this position?