[cfe-users] static inline functions in headers and -Wunused-function

Richard via cfe-users cfe-users at lists.llvm.org
Wed Jan 27 09:09:25 PST 2016


[Please reply *only* to the list and do not include my email directly
in the To: or Cc: of your reply; otherwise I will not see your reply.
Thanks.]

In article <CAENS6Evwx8k=eq7hicg5bj0jbysOOFmVQV3fy4B6p3xAaEqMkw at mail.gmail.com>,
    David Blaikie via cfe-users <cfe-users at lists.llvm.org> writes:

> On Wed, Jan 27, 2016 at 3:01 AM, Rainer Gerhards via cfe-users <
> cfe-users at lists.llvm.org> wrote:

> > Am I wrong here? What's the best path to fix this?
> >
> 
> Ish. They shuold probably just be "inline" without the static.

+1 for all the reasons David explains :-).

(He beat me to it! LOL.)

-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
     The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
         The Terminals Wiki <http://terminals.classiccmp.org>
  Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>


More information about the cfe-users mailing list