If you're not with LWIP_DEBUG defined, we could have the same problem with domain from lwip_socket, and how from lwip_shutdown. Ok for this patch ? Index: src/api/sockets.c =================================================================== RCS file: /sources/lwip/lwip/src/api/sockets.c,v retrieving revision 1.73 diff -w -b -u -0 -p -r1.73 sockets.c --- src/api/sockets.c 29 Jul 2007 09:25:19 -0000 1.73 +++ src/api/sockets.c 30 Jul 2007 10:07:34 -0000 @@ -612,0 +613,2 @@ lwip_socket(int domain, int type, int pr + LWIP_UNUSED_ARG(domain); + @@ -854,0 +857,2 @@ event_callback(struct netconn *conn, enu + LWIP_UNUSED_ARG(len); + @@ -925,0 +930 @@ int lwip_shutdown(int s, int how) + LWIP_UNUSED_ARG(how);
About socklen_t, can you send me a part of your build log to see the error ? Mine doesn't give me one on that... ==================================== Frédéric BERNON HYMATOM SA Chef de projet informatique Microsoft Certified Professional Tél. : +33 (0)4-67-87-61-10 Fax. : +33 (0)4-67-70-85-44 Email : [EMAIL PROTECTED] Web Site : http://www.hymatom.fr ==================================== P Avant d'imprimer, penser à l'environnement -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Bill Florac Envoyé : lundi 30 juillet 2007 06:04 À : [email protected] Objet : [lwip-users] Compile warnings in socket.c No big deal but when I compile sockets.c I get a handful (15) of "comparison between signed and unsigned" warnings. These are all when comparing a type "socklen_t" to a sizeof(). Since I think socklen_t is universally an int, I suppose these all should be cast to an int? (or just disable the warning...) I also get a unused parameter "len" in event_callback() Bill Florac _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
BEGIN:VCARD VERSION:2.1 N:BERNON;Frédéric;;M. FN:Frédéric BERNON ORG:HYMATOM SA;Recherche et Développement TITLE:Chef de projet informatique TEL;WORK;VOICE:04-67-87-61-10 TEL;WORK;FAX:04-67-70-85-44 ADR;WORK;ENCODING=QUOTED-PRINTABLE:;23;Zone Industrielle=0D=0A175 rue de Massacan;VENDARGUES;;34740;FRANCE; LABEL;WORK;ENCODING=QUOTED-PRINTABLE:23=0D=0AZone Industrielle=0D=0A175 rue de Massacan=0D=0AVENDARGUES 34740=0D= =0AFrance URL;WORK:http://www.hymatom.fr ROLE:Chef de projet informatique EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20020404T083210Z END:VCARD
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
