cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Error compiling curl-7.9.6-pre5 with VC

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 14 Apr 2002 16:08:35 +0200 (MET DST)

On Fri, 12 Apr 2002, sm wrote:

> I have been compiling libcurl 7.9.6 pre5 under VC (win32) and I get the
> following error:
>
> include\curl/curl.h(211) : error C2061: syntax error : identifier 'NOTHING'
>
> I have been looking at the curl.h but I cannot find the bug which causes
> this behavior under VC. Libcurl compiled without errors in pre2. I only
> noticed this behavior as from pre4.

This sounds as if it is the CINIT() macro magic that fails.

Can you preprogess only and see what the result of that becomes? I mean to
see where the NOTHING gets used in a bad way.

Could it be that MSVC doesn't set the __STDC__ define?

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-04-14