diff options
author | Hans Bolinder <[email protected]> | 2014-03-03 15:27:09 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2014-03-04 12:08:16 +0100 |
commit | 774955d0d2a44fa8ac5943a14516d54db2b8f6d5 (patch) | |
tree | 147bcef3d834180b8bc7ed1174fcd113022e19f7 /system/COPYRIGHT | |
parent | e2910a4fc3c0e8f70fef5578225edc6e36d6fbe7 (diff) | |
download | otp-774955d0d2a44fa8ac5943a14516d54db2b8f6d5.tar.gz otp-774955d0d2a44fa8ac5943a14516d54db2b8f6d5.tar.bz2 otp-774955d0d2a44fa8ac5943a14516d54db2b8f6d5.zip |
Introduce compiler option 'nowarn_deprecated_type'
The deprecation of the built-in types dict/0 and so on had as
side-effect that it was impossible to switch to dict:dict/2 and so on
without getting warnings either in the the previous release (R16B) or
the current one (17.0).
By including the attribute
-compile(nowarn_deprecated_type).
in an Erlang source file warnings about deprecated types can be
avoided in 17.0.
The option can also be given as a compiler flag:
erlc +nowarn_deprecated_type file.erl
Diffstat (limited to 'system/COPYRIGHT')
0 files changed, 0 insertions, 0 deletions