| Submitter | Gerald Pfeifer |
|---|---|
| Date | Aug. 26, 2012, 3:37 p.m. |
| Message ID | <alpine.LNX.2.00.1208261734230.5727@ghan.fvgr> |
| Download | mbox | patch |
| Permalink | /patch/180067/ |
| State | New |
| Headers | show |
Comments
Patch
Index: doc/invoke.texi =================================================================== --- doc/invoke.texi (revision 190691) +++ doc/invoke.texi (working copy) @@ -2313,7 +2313,7 @@ @noindent In this case, G++ places @code{B::f2} into the same byte -as@code{A::f1}; other compilers do not. You can avoid this problem +as @code{A::f1}; other compilers do not. You can avoid this problem by explicitly padding @code{A} so that its size is a multiple of the byte size on your platform; that causes G++ and other compilers to lay out @code{B} identically.