aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-28 20:29:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-28 20:29:34 +0200
commit9a0c247a8e909e262c8b40ac05650c01307eec66 (patch)
treef37bab6338e4aa7cf8b569ba149cc39f3741b926 /doc
parenta09dd8568857d4b84f2cae827a87c0d747c4b96d (diff)
Update Sun C++ info
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.xhtml11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/manual.xhtml b/doc/manual.xhtml
index 576e63f..e8ee426 100644
--- a/doc/manual.xhtml
+++ b/doc/manual.xhtml
@@ -3043,8 +3043,15 @@ private:
<h3><a name="5.1.3">5.1.3 Sun C++</a></h3>
- <p>The Sun C++ compiler does not issue warnings about unknown pragmas.
- As a result, no additional actions are required for this compiler.</p>
+ <p>The Sun C++ compiler does not issue warnings about unknown pragmas
+ unless the <code>+w</code> or <code>+w2</code> option is specified.
+ To disable only the unknown pragma warning you can add the
+ <code>-erroff=unknownpragma</code> option anywhere on the
+ command line, for example:</p>
+
+ <pre class="terminal">
+CC +w -erroff=unknownpragma ...
+ </pre>
<h3><a name="5.1.4">5.1.4 IBM XL C++</a></h3>