Trouble inlining code

"Sébastien L." sleon@pointcarre.com
Sat Feb 11 09:39:00 GMT 2006


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.



More information about the Gcc-help mailing list