#define FOO 127 /* do something with FOO to mark it deprecated */ And in client code which includes the header, printf("%d", FOO);should print a compile-time warning. Is this possible without changing GCC itself?
-- Florian Weimer / Red Hat Product Security Team