This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: inline functions not getting internal linkage in x86 without optimization
- To: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: inline functions not getting internal linkage in x86 without optimization
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Fri, 26 Jun 1998 18:45:57 -0400
- Cc: egcs%bugs at cygnus dot com
The C++ reference manual previously stated: "A name of file scope
that is explicitly declared *inline* is local to the translation unit."
Elsewhere it mentions *static* as local to the translation unit and "such
names are said to have internal linkage." Are explicitly declared
*inline* functions no longer considered local to the translation unit in
whatever equivalent wording now exists?
More to the point, is there any way to generate something
equivalent to GCC's "extern inline" available as a feature of the C
Compiler when using G++?
Thanks, David