"Andrew" == Andrew Cagney <ac131313@ges.redhat.com> writes:
Andrew> The idea is to issue an internal-warning on the first call to a
Andrew> deprecated [multi-arch] function.
Andrew> Thoughts? Variations on the idea?
What about marking functions as deprecated at compile time using
__attribute__? Then the burden falls on the maintainers not to call
deprecated functions. (I'm not certain that
__attribute__((deprecated)) works if you are calling through a
function pointer.)
Hmm, thanks. I thought there was such an attribute but couldn't find it
in the version of the doco I was looking at. I'll try to check it out.