diff options
author | Patrik Nyblom <[email protected]> | 2010-09-01 14:30:14 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2010-09-10 14:24:42 +0200 |
commit | 19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac (patch) | |
tree | 07492ef6b7f98ef05ecc47518038980173996480 /lib/asn1 | |
parent | 61b3f9abf28ba87e6042423192685e9d426dd040 (diff) | |
download | otp-19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac.tar.gz otp-19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac.tar.bz2 otp-19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac.zip |
Remove warnings for clashes with new autoimported BIFs
Diffstat (limited to 'lib/asn1')
-rw-r--r-- | lib/asn1/src/asn1ct_check.erl | 2 | ||||
-rw-r--r-- | lib/asn1/test/asn1_appup_test.erl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_check.erl b/lib/asn1/src/asn1ct_check.erl index 7cd29623c1..c6f3b60786 100644 --- a/lib/asn1/src/asn1ct_check.erl +++ b/lib/asn1/src/asn1ct_check.erl @@ -22,6 +22,8 @@ %% Main Module for ASN.1 compile time functions %-compile(export_all). +%% Avoid warning for local function error/1 clashing with autoimported BIF. +-compile({no_auto_import,[error/1]}). -export([check/2,storeindb/2]). %-define(debug,1). -include("asn1_records.hrl"). diff --git a/lib/asn1/test/asn1_appup_test.erl b/lib/asn1/test/asn1_appup_test.erl index 81701328a6..4a60c814e8 100644 --- a/lib/asn1/test/asn1_appup_test.erl +++ b/lib/asn1/test/asn1_appup_test.erl @@ -21,7 +21,7 @@ %% Purpose: Verify the application specifics of the asn1 application %%---------------------------------------------------------------------- -module(asn1_appup_test). - +-compile({no_auto_import,[error/1]}). -compile(export_all). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |