We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi Team,
I'm getting this warning when doing docker build in my go project that uses this library:
#10 257.1 # github.com/ipsn/go-libtor/libtor #10 257.1 In file included from /go/pkg/mod/github.com/ipsn/[email protected]/libtor/../tor/src/../src/lib/crypt_ops/crypto_rand.c:70, #10 257.1 from /go/pkg/mod/github.com/ipsn/[email protected]/libtor/tor_src_lib_crypt_ops_crypto_rand.go:9: #10 257.1 /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Wcpp] #10 257.1 1 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> #10 257.1 | ^~~~~~~ #10 DONE 260.1s
Any idea as to how to fix? I know it's just a warning, but wanted to avoid a future error due to header linkage.
The text was updated successfully, but these errors were encountered:
I think the fix maybe to change this from
#include <sys/fcntl.h>
to
#include <fcntl.h>
Like in this PR for a different project using the same library.
Sorry, something went wrong.
@karalabe Let me know if this makes sense to do?
No branches or pull requests
Hi Team,
I'm getting this warning when doing docker build in my go project that uses this library:
Any idea as to how to fix? I know it's just a warning, but wanted to avoid a future error due to header linkage.
The text was updated successfully, but these errors were encountered: