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.
deprecated function call
Re: deprecated function call
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
GCC 3.x has "attribute(__deprecated__)"; don't know of 2.95 corollary ...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.
Re: deprecated function call
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:
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 ...