<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:yuri@tsoft.com" title="Yuri <yuri@tsoft.com>"> <span class="fn">Yuri</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Inline procedure defined in the same module isn't found by the linker"
   href="http://llvm.org/bugs/show_bug.cgi?id=20983">bug 20983</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>INVALID
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Inline procedure defined in the same module isn't found by the linker"
   href="http://llvm.org/bugs/show_bug.cgi?id=20983#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Inline procedure defined in the same module isn't found by the linker"
   href="http://llvm.org/bugs/show_bug.cgi?id=20983">bug 20983</a>
              from <span class="vcard"><a class="email" href="mailto:yuri@tsoft.com" title="Yuri <yuri@tsoft.com>"> <span class="fn">Yuri</span></a>
</span></b>
        <pre>I would like to suggest that compiler issues a warning (or an error) in such
case.

It sees the function is declared inline, defined inline, and used, it knows
that this function is essentially unusable under the C99 standard, so it should
say:

module.c:NN: warning: Function 'setRGB' lacks the strong definition, required
by C99 standard.

This situation may and will cause user questions, because the linker error
isn't descriptive enough.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>