core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_dont_reuse_strings.htm
changeset 1641 2b3996fc09a1
parent 0 fb279309251b
equal deleted inserted replaced
1640:4891d49809bb 1641:2b3996fc09a1
    23     char *str2=&quot;Hello&quot;<br />
    23     char *str2=&quot;Hello&quot;<br />
    24     *str2 = 'Y';</p>
    24     *str2 = 'Y';</p>
    25   <p>If you enable this pragma, str1 is &quot;Hello&quot;, and str2 is &quot;Yello&quot;. Otherwise, both str1 and str2 are &quot;Yello&quot;.</p>
    25   <p>If you enable this pragma, str1 is &quot;Hello&quot;, and str2 is &quot;Yello&quot;. Otherwise, both str1 and str2 are &quot;Yello&quot;.</p>
    26   <p> This pragma corresponds to the Reuse Strings setting . To check this setting, use <span class="code">__option (dont_reuse_strings)</span>, described in <a href="../symbols/sym_settings.htm">Checking Settings</a>. The default setting is <span class="code">off</span>. </p>
    26   <p> This pragma corresponds to the Reuse Strings setting . To check this setting, use <span class="code">__option (dont_reuse_strings)</span>, described in <a href="../symbols/sym_settings.htm">Checking Settings</a>. The default setting is <span class="code">off</span>. </p>
    27   <p></p>
    27   <p></p>
    28 <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>
    28 <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>
    29 
    29 
    30 
    30 
    31 </body>
    31 </body>
    32 </html>
    32 </html>