This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcc-in-cxx] Use plain inline, not extern inline, for C++


On Fri, Mar 6, 2009 at 5:37 PM, Ian Lance Taylor <iant@google.com> wrote:
> I committed this patch to the gcc-in-cxx branch to use plain inline, not
> extern inline, when compiling C++ code.
>
> Ian

Hi Ian,

  I believe the only guaranteed semantics of "inline" at the intersecion
of C and C++ is "static inline".  So, why would we want to use "plain"
inline?

>
>
> 2009-03-06 ?Ian Lance Taylor ?<iant@google.com>
>
> ? ? ? ?* toplev.h (floor_log2, exact_log2): Don't define as extern for
> ? ? ? ?C++.
>
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]