Hans-Christoph Steiner wrote:
How about a compiler warning, isn't it something like #warning?
No, that emits a warning when the #warning line is reached by the preprocessor. In GNU C you can emit warnings when deprecated functions are *used* like this:
int old_fn () __attribute__ ((deprecated));
But that's GNU C not ANSI C nor Microsoft C nor...
Claude