On Tue, 19 Sep 2000, Rogier Wolff wrote:
>
> If gcc starts shouting:
>
> somefile.c:1234: declared inline function 'serial_paranoia_check' is
> somefile.c:1234: larger than 1k. Declining to honor the inline directive.
That's not what gcc does.
Gcc silently just doesn't inline it.
And the error message you get is
ld: undefined function 'serial_paranoia_check'
which is not exactly helpful.
That, together with the fact that gcc's notion of "large" is completely
undefined (for a while, it had absolutely nothing to do with size, but
with what kinds of things the function did, like having the address of a
label taken) means that it's basically not useful for what you suggest
anyway..
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: Linux-2.4.0-test9-pre2 David Woodhouse
- Re: Linux-2.4.0-test9-pre2 Tom Rini
- Re: Linux-2.4.0-test9-pre2 Pavel Machek
- Re: Linux-2.4.0-test9-pre2 James Lewis Nance
- Re: Linux-2.4.0-test9-pre2 Linus Torvalds
- Re: Linux-2.4.0-test9-pre2 H. Peter Anvin
- Re: Linux-2.4.0-test9-pre2 Jamie Lokier
- Re: Linux-2.4.0-test9-pre2 David Woodhouse
- Re: Linux-2.4.0-test9-pre2 Linus Torvalds
- Re: Linux-2.4.0-test9-pre2 Rogier Wolff
- Re: Linux-2.4.0-test9-pre2 Linus Torvalds
- Re: Linux-2.4.0-test9-pre2 Andi Kleen
- inlines [was Re: Linux-2.4.0-test9... suckfish
- RE: Linux-2.4.0-test9-pre2 Dunlap, Randy
- Re: Linux-2.4.0-test9-pre2 Horst von Brand
- RE: Linux-2.4.0-test9-pre2 Dunlap, Randy
- Re: Linux-2.4.0-test9-pre2 schwidefsky
- Re: Linux-2.4.0-test9-pre2 David Weinehall
- Re: Linux-2.4.0-test9-pre2 Cort Dougan
- Re: Linux-2.4.0-test9-pre2 Russell King
- Re: Linux-2.4.0-test9-pre2 Cort Dougan

