As the title states, I'm wondering if I can mark a function as "deprecating", or simply output a message during compilation that is not a warning or error.
I do not want to prevent compilation of currently functioning applications, simply notify developers that we plan to deprecate a function or constructor in the future (and perhaps add a message detailing when it will be deprecated), so that they can make changes when time is available.
I'm aware of functionality such as
[[deprecated("message")]] foo();
But I can't find any information on anything that won't produce a warning or error.
Must be usable on G++ v7.0 or higher (C++17 or under)