diff --git a/src/comMisc/utReadRec.erl b/src/comMisc/utReadRec.erl index 0077557..0491519 100644 --- a/src/comMisc/utReadRec.erl +++ b/src/comMisc/utReadRec.erl @@ -1,5 +1,5 @@ -module(utReadRec). --compile([export_all]). +-compile([export_all, nowarn_export_all]). read_records(FileOrModule, Opts0) -> Opts = lists:delete(report_warnings, Opts0), diff --git a/src/hexMap/hexMap.erl b/src/hexMap/hexMap.erl index 4b5e9f7..1e88e3c 100644 --- a/src/hexMap/hexMap.erl +++ b/src/hexMap/hexMap.erl @@ -2,7 +2,7 @@ -module(hexMap). -include("utComMisc.hrl"). --compile([export_all]). +-compile([export_all, nowarn_export_all]). %%六边形画线算法 算法说明 http://zvold.blogspot.com/2010/01/bresenhams-line-drawing-algorithm-on_26.html -define(samePoint(SX, SY, TX, TY), SX == TX andalso SY == TY). diff --git a/src/template/utEtsFold.erl b/src/template/utEtsFold.erl index 84c78d4..a964dcf 100644 --- a/src/template/utEtsFold.erl +++ b/src/template/utEtsFold.erl @@ -2,7 +2,7 @@ -include_lib("stdlib/include/ms_transform.hrl"). %% 请注意,对于表类型ordered_set和由单个 ETS 函数调用(如select/2)完成的遍历(一次调用就返回了全部结果没有Next 迭代器了),不需要 safe_fixtable/ 2 。 --compile([export_all]). +-compile([export_all, nowarn_export_all]). -export([rank/5, fold/2, fold/3]).