aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-07-06 18:09:13 +0200
committerLukas Larsson <[email protected]>2011-08-01 16:38:50 +0200
commit0b0e143a6c832128e6347fd142282f549b01add6 (patch)
treeb887f68ef2a3541763697f6b62806f731e237b4b /lib/asn1/src
parent416622e675608fed27d324ca8449bbbc384837fe (diff)
downloadotp-0b0e143a6c832128e6347fd142282f549b01add6.tar.gz
otp-0b0e143a6c832128e6347fd142282f549b01add6.tar.bz2
otp-0b0e143a6c832128e6347fd142282f549b01add6.zip
Add obsolete warning for driver option
Diffstat (limited to 'lib/asn1/src')
-rw-r--r--lib/asn1/src/asn1ct.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/asn1/src/asn1ct.erl b/lib/asn1/src/asn1ct.erl
index a664c8d343..a170dd8660 100644
--- a/lib/asn1/src/asn1ct.erl
+++ b/lib/asn1/src/asn1ct.erl
@@ -85,6 +85,12 @@ compile(File) ->
compile(File,[]).
compile(File,Options) when is_list(Options) ->
+ case lists:member(driver, Options) of %% remove me in R16A!
+ true ->
+ io:format("Warning: driver option is obsolete and will be removed in R16A, use nif instead!");
+ false ->
+ ok
+ end,
Options1 = optimize_ber_bin(Options),
Options2 = includes(File,Options1),
Includes=[I||{i,I}<-Options2],