efriedma added a comment.

> Usually the solution is to round up the size to the alignment. Can you 
> provide godbolt examples of what GCC and MSVC do?

gcc prints a similar error, MSVC doesn't support an equivalent alignment 
attribute.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133711/new/

https://reviews.llvm.org/D133711

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to