Hi,
Good work on getting it down to so few errors.
The first error on your list:
curl.h expected `}' before "NOTHING"
looks like it is causing all the rest.
What compiler are you using?
Looks like the CFINIT macro around line 1945 may not be being expanded properly:
#ifdef CURL_ISOCPP
#define CFINIT(name) CURLFORM_ ## name
#else
/* The macro "##" is ISO C, we assume pre-ISO C doesn't support it. */
#define CFINIT(name) CURLFORM_/**/name
#endif
CFINIT(NOTHING) should expand to CURLFORM_NOTHING
---
Curl itself is in a constant state of flux:
https://github.com/curl
Cheers,
Red