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

Zabrane Mickael zabrane3@REDACTED
Wed Sep 12 18:48:23 CEST 2012


Good catch Lukas. You should read: prim_inet:async_accept/2

Regards,
Zabrane


On Sep 12, 2012, at 6:28 PM, Lukas Larsson wrote:

> Have you misspelled prim_inet:async_accept/2 in the mail or also in the source?
> 
> Lukas
> 
> On Wed, Sep 12, 2012 at 6:03 PM, Zabrane Mickael <zabrane3@REDACTED> wrote:
>> 
>> On Sep 12, 2012, at 5:48 PM, Stavros Aronis wrote:
>> 
>> 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?
>> 
>> 
>> OTP guys?
>> 
>> Regards,
>> Zabrane
>> 
>> 
>> 
>> 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
>>> erlang-q...@REDACTED
>>> http://erlang.org/mailman/listinfo/erlang-questions
>> 
>> 
>> 
>> 
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>> 





More information about the erlang-questions mailing list