aboutsummaryrefslogtreecommitdiff
path: root/docs/UsersManual.html
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-03-17 04:31:53 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-03-17 04:31:53 +0000
commit9b2fc9563fba142ae8d570d2eea43b4c24079326 (patch)
tree4855862e978262f9ee4c5ebf2f82c1281a719fe6 /docs/UsersManual.html
parent9b35b25db3641dfa8876d24b41cfa5b4d51477cb (diff)
Document common clang compatibility issues.
Patch by Zhanyong Wan. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/UsersManual.html')
-rw-r--r--docs/UsersManual.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/UsersManual.html b/docs/UsersManual.html
index 41715bb2ac..e7ea133ce9 100644
--- a/docs/UsersManual.html
+++ b/docs/UsersManual.html
@@ -796,6 +796,13 @@ ask on the mailing list about how you can help.</p>
<p>Note that released Clang compilers will refuse to even try to use clang to compile C++ code unless you pass the <tt>-ccc-clang-cxx</tt> option to the driver. To turn on Clang's C++ support, please pass that flag. Clang compilers built from the Subversion trunk enable C++ support by default, and do not require the <tt>-ccc-clang-cxx</tt> flag.</p>
+<p>Clang strives to strictly conform to the C++ standard. That means
+it will reject invalid C++ code that another compiler may accept. If
+Clang reports errors in your code, please check
+the <a href="http://clang.llvm.org/cxx_compatibility.html">C++
+Compatibility</a> page to see whether they are C++-conformance bugs
+and how you can fix them.</p>
+
<!-- ======================================================================= -->
<h2 id="objcxx">Objective C++ Language Features</h2>
<!-- ======================================================================= -->