cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Building curl with CodeWarrior 8.3

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 23 May 2003 10:29:44 +0200 (CEST)

On Fri, 23 May 2003, David Nock wrote:

> I'm trying to build curl 7.10.5 with CWPro 8.3 on Win2k as a static
> library.
>
> Initially this produced 20 errors and 19 warnings. Most of the warnings are
> regarding functions with no prototypes - no real problem.

What functions have no prototypes? Why are they lacking? Can you provide us
with patches to correct them?

I think we should strive at minimizing (if not completely removing) all
compiler warnings.

> Of the 20 errors I've managed to resolve 6 but the other 14 are a causing a
> problem. They are all from telnet.c and relate to redeclarations of structs
> and types in winsock2.h e.g.

Then it sounds as if your compiler is weird. How come your compiler complains
on this when the other Windows ones don't?

> Both winsock.h and winsock2.h declare these so is that causing a problem?

telnet.c doesn't include winsock.h, only winsock2.h.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
Received on 2003-05-23