This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Inline functions
- To: jbuck at synopsys dot com (Joe Buck)
- Subject: Re: Inline functions
- From: hans at brandinnovators dot com (Hans Zuidam)
- Date: Wed, 13 May 1998 10:00:48 +0200 (CEST)
- Cc: fray at eel2 dot cs dot mankato dot msus dot edu, egcs at cygnus dot com
> Joe Buck wrote:
> You aren't doing something like saying
>
> inline int foo(int x);
>
> in an .h file and then putting the definition of foo(int) in the .c file,
> are you?
RTEMS does something like this a lot ;-) Is there a cpp define
which allows one to find out the optimization level GCC is going
to perform? That could help eliminating those .h inline functions.
Regards,
Hans
--
H. Zuidam E-Mail: hans@brandinnovators.com
Brand Innovators B.V. P-Mail: P.O. Box 1377
de Pinckart 54 5602 BJ Eindhoven, The Netherlands
5674 CC Nuenen Tel. +31 40 2631134, Fax. +31 40 2831138