[cfe-commits] r107344 - /cfe/trunk/www/compatibility.html
Douglas Gregor
dgregor at apple.com
Wed Jun 30 15:43:03 PDT 2010
Author: dgregor
Date: Wed Jun 30 17:43:03 2010
New Revision: 107344
URL: http://llvm.org/viewvc/llvm-project?rev=107344&view=rev
Log:
Wording tweak from Dan.
Modified:
cfe/trunk/www/compatibility.html
Modified: cfe/trunk/www/compatibility.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/compatibility.html?rev=107344&r1=107343&r2=107344&view=diff
==============================================================================
--- cfe/trunk/www/compatibility.html (original)
+++ cfe/trunk/www/compatibility.html Wed Jun 30 17:43:03 2010
@@ -95,14 +95,14 @@
<p>There are several ways to fix this problem:</p>
<ul>
- <li>Provide an external (non-inline) definition of <code>add</code>
- somewhere in your program.</li>
-
<li>Change <code>add</code> to a <code>static inline</code>
function. Static inline functions are always resolved within the
translation unit, so you won't have to add an external, non-inline
definition of the function elsewhere in your program.</li>
+ <li>Provide an external (non-inline) definition of <code>add</code>
+ somewhere in your program.</li>
+
<li>Compile with the GNU89 dialect by adding
<code>-std=gnu89</code> to the set of Clang options. This option is
only recommended if the program source cannot be changed or if the
More information about the cfe-commits
mailing list