This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: Trouble inlining code


Hi,

It seems your function is defined several times : multiple definition of `your_func'
May be this is a stupid advice, but didn't you forget the classic #ifndef ?


#if !defined(MY_HEADER)
#define MY_HEADER

... my header content and inline definitions ...

#endif

Hopes this help.

S.L.


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