-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: macro "curl_easy_setopt" passed 4 arguments, but takes just 3 #206
Comments
I was now able to fix the error myself. I commented out the template method |
@Shadowsith Thank your for pointing this issue out! But it should compile without changing the code. I reopend the issue and will take a look at it. |
The problem still exists. |
@Shadowsith @BAMSHK It nothing to do with the curl and os version. I tried it on my machine (ubuntu 22.04, curl 7.81). But guess it is related to the compiler and its version. In the curl header file some these macros are defined in for certain compiler version. This is the one I used:
|
Thanks for your reply, in the end it turned out to be because I didn't introduce the following macro definition when compiling on Linux, and without it the code would go to the branch that calls the windows template |
If I tried to compile some of the examples like the main example in the project README I got following error:
OS:
curl:
Which libcurl version has been used as base for the project?
The text was updated successfully, but these errors were encountered: