Hi,
Does anybody knows how to tell a developper uses a deprecated function?
I tried something with #warning but I get the warning everytime and not
only if the function call is used in a C source file.
Maybe I missed something.
any idea?
Alain.
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
Does anybody knows how to tell a developper uses a deprecated function?
I tried something with #warning but I get the warning everytime and not
only if the function call is used in a C source file.
GCC 3.x has “attribute(deprecated)”; don’t know of 2.95 corollary …
HI John,
Except that the syntax is in fact attribute((deprecated)) the info
is good.
Unfortunately, ‘deprecated’ attribute came with 3.1 gcc release!
Do you use GCC 3 on QNX6 ? does it exist ?
Thanks,
Alain.
John Garvey a écrit:
Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:
Does anybody knows how to tell a developper uses a deprecated function?
I tried something with #warning but I get the warning everytime and not
only if the function call is used in a C source file.
GCC 3.x has “attribute(deprecated)”; don’t know of 2.95 corollary …