This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: inline functions not getting internal linkage in x86 without optimization
- To: dje at watson dot ibm dot com
- Subject: Re: inline functions not getting internal linkage in x86 without optimization
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sat, 27 Jun 1998 10:30:09 +0200
- CC: egcs-bugs at cygnus dot com
- References: <9806262245.AA30672@rios1.watson.ibm.com>
> 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++?
You mean,
extern inline void f(){}
int main()
{
f();
}
Works fine for me with egcs-2.91.42 (i.e. compiles and links, with and
without optimization). It also seems to have the semantics that C++
requires.
What is the feature of the C compiler that you want?
Martin