This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: PR 15815
On Thu, 10 Jun 2004 06:59:59 -0700, Mark Mitchell <mark@codesourcery.com> wrote:
>> BTW, for the purpose of these #pragma-s, the C++ front end seems to
>> treat each header file separately (i.e. not go with the abstraction of
>> considering a fully-preprocessed source file for compilation) - does the
>> same apply for inlining functions defined in class declarations? That
>> is, would functions defined in class declarations in indirectly included
>> headers also be inlined?
Inlining is not affected by the #pragmas, only the out-of-line copies.
> I have no idea. :-) Part of the reason I was glad that people seemd to
> have agreed to remove these #pragma directives was that nobody seemed very
> sure exactly what they were suppoed to do.
I'm pretty clear on it. I'll fix the docs.
Jason