This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: kernel-2.2.1-undefined references.
- To: Lee Iverson <leei at ai dot sri dot com>
- Subject: Re: kernel-2.2.1-undefined references.
- From: Linus Torvalds <torvalds at transmeta dot com>
- Date: Mon, 8 Feb 1999 16:10:56 -0800 (PST)
- cc: Ross Smith <ross dot s at ihug dot co dot nz>, egcs at cygnus dot com, "H. Peter Anvin" <hpa at transmeta dot com>
On Mon, 8 Feb 1999, Lee Iverson wrote:
>
> It occurs to me that we do, in fact have an acceptable method of
> *guaranteeing* inlining of a *function* in gcc. That is a combination
> of a macro and the "Statement Expression" extension.
Sure.
Why don't you just remove "inline" completely, then?
It's apparently ok to break documented and existing behaviour of "inline".
Go read the gcc documentation about "extern inline", the whole thing is
_designed_ to be a much more readable form of #define.
Oh, well, I don't care any more. Make up your own rules, and break
documented behaviour.
Linus