Re: gcov coverage on template classes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi NW,

You are defining template class methods as inline.

An inline method that is not used is not emitted.  (Similarly, just as an
uninstantiated template is not emitted.)

There are some -f flags which may affect the generation of inline routine as
not-inline even if not referenced, and/or a -f flag which may affect the
generation of all template inline methods.  Perhaps one-or-more of those
flags will be required to generate the unreferenced inline code.

Refer to GCC documentation (man gcc).

HTH,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux