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
8.4.0 fails to build with CURL_DISABLE_VERBOSE_STRINGS=ON #12083
Comments
Did you try to add to "-DCMAKE_C_FLAGS" -> -std=gnu99 ? |
I still get the same error with this flag. |
This is exactly the same as #11891 but I got it with Visual Studio on Windows. |
@jay I think so. |
@vszakats would you mind creating a PR with your fix so we can see if it works? #11880 seems to have gone stale. maybe @SChernykh can test? |
@jay: I will do that in the coming days/week, unless someone beats me to it. |
PR #12105 is ready for testing. We're appreciating feedback. |
- test for a simplified C99 variadic check - args to infof() in --disable-verbose are no longer disregarded but must compile. Closes curl#12167 Fixes curl#12083 Fixes curl#11880 Fixes curl#11891
I did this
The cmake command line I used to generate Visual Studio solution file:
It generated a solution file without issues, but then it failed to compile with this error:
Removing
Curl_trc_cf_infof
definition incurl_trc.c
fixed the build for me.I expected the following
curl should build without errors when CURL_DISABLE_VERBOSE_STRINGS=ON
curl/libcurl version
curl 8.4.0
operating system
Windows
The text was updated successfully, but these errors were encountered: