title: Excessive inline warnings with intel compiler
body: <p>I am compiling an HPC code using the intel c++ compiler. There are several functions which must be inlined so I compile with the <code>-Winline</code> option to warn if they are not inlined correctly.</p>
  
  <p>However, with <code>-Winline</code> turned on, there appear to be warnings generated for <em>every</em> function specified in the code that was not inlined, including those that were not specified as inline. I can remove the warning for individual functions by adding <code>__attribute__((noinline))</code> before the function, but I do not want to have to do this for every function in the code.</p>
  
  <p>How do I tell the intel compiler to only provide warnings for functions which are specified as inline and have not been inlined? </p>