This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gcc-in-cxx] Use plain inline, not extern inline, for C++
- From: Gabriel Dos Reis <dosreis at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 6 Mar 2009 17:39:37 -0600
- Subject: Re: [gcc-in-cxx] Use plain inline, not extern inline, for C++
- References: <m3bpseb4v3.fsf@google.com>
- Reply-to: gdr at integrable-solutions dot net
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++.
>
>
>