News for hackers. Stuff that matters.
Re:strcpy: A niche function you don't need by shakna on Friday July 30, 2021 @07:27PM (#28013650)
Something along these lines should work, for at least both of GCC and Clang:

    extern void banned() __attribute__((deprecated("This function is problematic")));

    #define strcpy(...) strcpy(__VA_ARGS__); banned;
Which would output something along the lines of:

    test.c:11:3: warning: 'banned' is deprecated: This function is problematic [-Wdeprecated-declarations]
  strcpy(x, y);

There are no comments on this comment yet.