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

Rainer Gerhards via cfe-users cfe-users at lists.llvm.org
Wed Jan 27 22:58:16 PST 2016


Thanks David and Richard for the explanations. This really helps. Looks
like I need to re-read my language manual ;)

Rainer

2016-01-27 18:09 GMT+01:00 Richard via cfe-users <cfe-users at lists.llvm.org>:

>
> [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>
> _______________________________________________
> cfe-users mailing list
> cfe-users at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20160128/ba910ccb/attachment.html>


More information about the cfe-users mailing list