[erlang-questions] Dialyzer: how to ignore some warnings?

Stavros Aronis <>
Wed Sep 12 17:48:18 CEST 2012


Not really.

For the particular case, if I understand correctly, it used to be the case 
that any functions that are implemented as NIFs have a stub in the .erl 
source file that throws an exception (if that code was really executed 
instead of the low level implementation). Is prim_inet:async_acceptor a NIF 
without such a stub?

Regards,
Stavros

On Wednesday, September 12, 2012 3:59:23 PM UTC+2, Zabrane Mickael wrote:
>
> Hi guys, Hi Kostis, 
>
> Dialyzer (R15B02, OSX 10.7.4) returns this: 
> pimco_net.erl:146: Call to missing or unexported function 
> prim_inet:async_acceptor/2 
>
> Is there a way to tell Dialyzer to simply ignore this warning (and any 
> other one coming from "prim_inet") ? 
> Thanks 
>
> Regards, 
> Zabrane 
>
> _______________________________________________ 
> erlang-questions mailing list 
>  <javascript:> 
> http://erlang.org/mailman/listinfo/erlang-questions 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120912/13846f7a/attachment.html>


More information about the erlang-questions mailing list