core/com.nokia.carbide.cpp.compiler.doc.user/html/c_compiler/c_expand_trigraphs.htm
Add S60 5.2 support.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Expand Trigraphs</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h3>Expand Trigraphs</h3>
<p>(ISO C, §5.2.1.1) The C compiler normally ignores trigraph characters. Many common character constants look like trigraph sequences, and this extension lets you use them without including escape characters.</p>
<p>If you must write source code that strictly adheres to the ISO standard, enable the <a href="../pragmas/p_trigraphs.htm">Expand Trigraphs</a> setting. When you enable this setting, be careful when initializing strings or multi-character constants that contain question marks.</p>
<p class="listing">char c = '????'; // ERROR: Trigraph sequence expands to '??^<br />
char d = '\?\?\?\?'; // OK</p>
<p>The <a href="../pragmas/p_trigraphs.htm">Expand Trigraphs</a> setting corresponds to the pragma trigraphs, To check this setting, use <span class="code">__option (trigraphs)</span>. By default, this setting is disabled.</p>
<p>See also “trigraphs” and <a href="../symbols/sym_settings.htm">Checking Settings</a>.
</p>
<div id="footer">Copyright © 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>
</body>
</html>