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
libssh: myards of warnings when compiling with libssh #6847
Labels
Comments
emilengler
added a commit
to emilengler/curl
that referenced
this issue
Apr 4, 2021
This enforces the usage of semicolons when using CPP macros. We currently use semicolons anyway, however this leads to certain warnings on certain compilers. Fixes curl#6847
bagder
added a commit
that referenced
this issue
Apr 17, 2021
... by fixing macros to do-while constructs and moving out the calls to "break" outside of the actual macro. It also fixes the problem where the macro was used witin a loop and the break didn't do right. Reported-by: Emil Engler Fixes #6847
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did this
Compiling curl with
./configure CC=clang --enable-debug --with-libssh --prefix=$HOME/tmp
I expected the following
No warnings regarding unnecessary semicolons
curl/libcurl version
curl: f573998
libssh: 0.9.5
operating system
FreeBSD freebsd 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64
The text was updated successfully, but these errors were encountered: