From: "Albert D. Cahalan" <acahalan@cs.uml.edu>
To: torvalds@transmeta.com (Linus Torvalds)
Cc: hpa@transmeta.com (H. Peter Anvin),
alan@lxorguk.ukuu.org.uk (Alan Cox),
Andries.Brouwer@cwi.nl (Andries Brouwer),
linux-kernel@vger.kernel.org (Linux Kernel Mailing List)
Subject: Re: iso9660 endianness cleanup patch
Date: Tue, 1 May 2001 02:37:05 -0400 (EDT) [thread overview]
Message-ID: <200105010637.f416b51151855@saturn.cs.uml.edu> (raw)
In-Reply-To: <Pine.LNX.4.21.0104302312430.861-100000@penguin.transmeta.com> from "Linus Torvalds" at Apr 30, 2001 11:14:41 PM
Linus Torvalds writes:
> Btw, please use "static inline" instead of "extern inline", as gcc may
> decide not to inline the latter at all, leading to confusing link-time
> errors. (Gcc may also decide not to inline "static inline", but then gcc
> will output the actual body of the function out-of-line if it gets used,
> so you don't get the link-time failure).
>
> Right now only certain broken versions of gcc will actually show this
> behaviour, I think, but it's at least in theory going to be an issue.
Since the best choice depends on compiler version:
#if(GCC_VERSION_FOO)
#define __inline extern inline
#else
#define __inline static inline
#endif
(that, or _INLINE if you prefer)
next prev parent reply other threads:[~2001-05-01 6:37 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-01 5:30 H. Peter Anvin
2001-05-01 6:14 ` Linus Torvalds
2001-05-01 6:18 ` H. Peter Anvin
2001-05-01 20:21 ` Pavel Machek
2001-05-04 1:51 ` Albert D. Cahalan
2001-05-04 4:59 ` Mike Galbraith
2001-05-01 6:37 ` Albert D. Cahalan [this message]
2001-05-01 9:52 ` Tim Riker
2001-05-02 8:52 ` Martin Dalecki
2001-05-02 16:03 ` H. Peter Anvin
2001-05-03 21:59 ` Pavel Machek
2001-05-01 14:40 Andrzej Krzysztofowicz
2001-05-01 18:16 ` H. Peter Anvin
2001-05-01 18:43 ` H. Peter Anvin
2001-05-01 20:44 ` Alan Cox
2001-05-01 20:59 ` Linus Torvalds
2001-05-01 21:06 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200105010637.f416b51151855@saturn.cs.uml.edu \
--to=acahalan@cs.uml.edu \
--cc=Andries.Brouwer@cwi.nl \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=hpa@transmeta.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®