This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Inline functions


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]