[erlang-questions] how to create compile warning for deprecated functions?
Niclas Eklund
nick@REDACTED
Tue Mar 22 11:08:54 CET 2011
Hi!
Checkout Xref - http://www.erlang.org/doc/man/xref.html
Best Regards,
Niclas @ Erlang/OTP
On Tue, 22 Mar 2011, caox wrote:
> Hi,
>
> I have some lib functions will be deprecated in next release of our repo. How could I add a warning during compiling for other developers just as the module regexp does:
>
> src/lib/email/add_phone.erl:23: Warning: regexp:split/2: the regexp module is deprecated (will be removed in R15A); use the re module instead
>
> regards,
> caox
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>
More information about the erlang-questions
mailing list