-
Notifications
You must be signed in to change notification settings - Fork 133
Description
I get following error when trying to compile with the go-curl library:
# github.com/andelf/go-curl
In file included from ../../../go/pkg/mod/github.com/andelf/[email protected]/const.go:5:
./compat.h:423:2: error: #error your version is TOOOOOOOO low
423 | #error your version is TOOOOOOOO low
| ^~~~~
exit status 1
I have curl version 8.0.1
see output of the curl --version
curl 8.0.1 (x86_64-pc-linux-gnu) libcurl/8.0.1 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) libssh2/1.10.0 nghttp2/1.52.0
The problem seems to be, that the file compat.h
only supports version with major version 7.10
or higher.
As for as I have seen the 8.0.0
and 8.0.1
release should not break anything present in the 7.X+
release as the changelog is rather small. In addition, curl does not follow semver semantics so the upgrade to 8 is not necessarily breaking in this case.
I have a change in my fork right now on the compatgen.py
file which I am testing right now. I had to modify it as rerunning it does not create a correct compat.h
file as there is a fixed reference within it to curl versions 7.
Metadata
Metadata
Assignees
Labels
No labels