[PATCH] emd2exml: Do not auto-import error/2

Tuncer Ayaz tuncer.ayaz@REDACTED
Thu Sep 23 00:50:51 CEST 2010


Eliminate the following warning:
Warning: ambiguous call of overridden auto-imported BIF error/2
---
 make/emd2exml.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/make/emd2exml.in b/make/emd2exml.in
index 17cb0a0..ea1085c 100644
--- a/make/emd2exml.in
+++ b/make/emd2exml.in
@@ -44,6 +44,7 @@
 -define(DELAYED_TOC_IX, 1).
 -define(DELAYED_START_IX, 2).
 
+-compile({no_auto_import,[error/2]}).
 -mode(compile).
 
 -export([main/1]).


More information about the erlang-patches mailing list