On Mon, Dec 24, 2012 at 06:46:22PM +0400, Andrey Vagin wrote: > > +#ifdef CR_GCOV > +extern void __gcov_flush(void); > +#endif > + Maybe it would worth to put it in header as #ifdef CR_GCOV extern void __gcov_flush(void); #else static inline void __gcov_flush(void) { } #endif no? Cyrill