Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some type conversion problems with uDNS.c



Hello,

In my last message, I said that I also have some problems with the file 
uDNS.c in my project. When I try to compile, I get these errors:

uDNS.c
\dossier_ecole\Stage\Rendezvous\Core\uDNS.c(454) : warning C4065: switch 
statement contains 'default' but no 'case' labels
\dossier_ecole\Stage\Rendezvous\Core\uDNS.c(551) : error C2440: 
'initializing' : cannot convert from 'void *' to 'ntaContext *'
         Conversion from 'void*' to pointer to non-'void' requires an 
explicit cast
\dossier_ecole\Stage\Rendezvous\Core\uDNS.c(567) : error C2440: 
'initializing' : cannot convert from 'void *' to 'ntaContext *'
         Conversion from 'void*' to pointer to non-'void' requires an 
explicit cast
\dossier_ecole\Stage\Rendezvous\Core\uDNS.c(677) : error C2106: '=' : left 
operand must be l-value
\dossier_ecole\Stage\Rendezvous\Core\uDNS.c(913) : error C2440: 
'initializing' : cannot convert from 'void *' to 'AuthRecord *'
         Conversion from 'void*' to pointer to non-'void' requires an 
explicit cast

Note that with the application RendezvousBrowser in the mDNSResponder 
module, the file works correctly. What can cause these errors in my project 
and make the exemple works correctly? I'm using Visual Studio .NET 2003 for 
both my project and the exemple to compile.

Thanks a lot for your help!

Frederic Drolet 
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.