core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_warn_padding.htm
changeset 1641 2b3996fc09a1
parent 0 fb279309251b
equal deleted inserted replaced
1640:4891d49809bb 1641:2b3996fc09a1
    18   All platforms.<br />
    18   All platforms.<br />
    19   <h5>Remarks</h5>
    19   <h5>Remarks</h5>
    20   <p>If you enable this pragma, the compiler warns about any bytes that were implicitly added after an ANSI C struct member to improve memory alignment. Refer to the appropriate Targeting manual for more information on how the compiler pads data structures for a particular processor or operating system. For more information about this warning, see &ldquo;Realigned Data Structures&rdquo;.</p>
    20   <p>If you enable this pragma, the compiler warns about any bytes that were implicitly added after an ANSI C struct member to improve memory alignment. Refer to the appropriate Targeting manual for more information on how the compiler pads data structures for a particular processor or operating system. For more information about this warning, see &ldquo;Realigned Data Structures&rdquo;.</p>
    21   <p> This pragma corresponds to the Pad Bytes Added setting . To check this setting, use <span class="code">__option (warn_padding)</span><span class="code"></span>, described in <a href="../symbols/sym_settings.htm">Checking Settings</a>. The default setting is <span class="code">off</span>. </p>
    21   <p> This pragma corresponds to the Pad Bytes Added setting . To check this setting, use <span class="code">__option (warn_padding)</span><span class="code"></span>, described in <a href="../symbols/sym_settings.htm">Checking Settings</a>. The default setting is <span class="code">off</span>. </p>
    22   <p></p>
    22   <p></p>
    23 <div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
    23 <div id="footer">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
    24 
    24 
    25 
    25 
    26 </body>
    26 </body>
    27 </html>
    27 </html>