How to deprecate a macro in GCC?

Posted by Eric on Stack Overflow See other posts from Stack Overflow or by Eric
Published on 2010-04-21T08:15:26Z Indexed on 2010/04/21 8:23 UTC
Read the original article Hit count: 268

Filed under:
|
|
|
|

Hi,

i Know how to use attribute deprecated to deprcate a function like this:

int old_fn () __attribute__ ((deprecated));

But how to deprecate a Macro like this:

#define OLD_MACRO 1

Thank you in advance.

Eric

© Stack Overflow or respective owner

Related posts about c++

Related posts about c