Wording tweak from Dan.

llvm-svn: 107344
This commit is contained in:
Douglas Gregor 2010-06-30 22:43:03 +00:00
parent 426c572d78
commit 5396853d81
1 changed files with 3 additions and 3 deletions

View File

@ -95,14 +95,14 @@ Undefined symbols:
<p>There are several ways to fix this problem:</p> <p>There are several ways to fix this problem:</p>
<ul> <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> <li>Change <code>add</code> to a <code>static inline</code>
function. Static inline functions are always resolved within the function. Static inline functions are always resolved within the
translation unit, so you won't have to add an external, non-inline translation unit, so you won't have to add an external, non-inline
definition of the function elsewhere in your program.</li> 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 <li>Compile with the GNU89 dialect by adding
<code>-std=gnu89</code> to the set of Clang options. This option is <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 only recommended if the program source cannot be changed or if the