[erlang-bugs] Generap purpose macros DBG/2 in xmerl.hrl

Lars Thorsen lars@REDACTED
Wed Jun 17 12:25:57 CEST 2009


Hi,
the DBG/0 macro is not used but the dbg/2 is used in xmerl_scan
and 3 other modules.

We'll fix it to the next release.

///Lars

Maxim Treskin wrote:
> Hello
> 
> After including xmerl header file with
> -include_lib("xmerl/include/xmerl.hrl") I have compilation error because
> DBG/2 already defined in my code.
> It seems strange to define general purpose macros like DBG in that place.
> BTW, xmerl does not use this macros anywhere.
> 
> Thank you.
> 



More information about the erlang-bugs mailing list