-
Notifications
You must be signed in to change notification settings - Fork 48
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
Linker warning when compiling #53
Comments
The rlottie one is just warning You can ignore that The ldd one also looks like a warning. Is any binary file named watgbridge getting generated? |
I imagined. Yes, a binary named |
Yeah, the bot should work then You probably are running very old version of gcc or something. Thank you for your kind words |
gcc version 13.2.0 (GCC) You are welcome! :-) |
And what golang version ? |
go version go1.21.8 linux/amd64 |
After running the
go build
command, the compilation stops with the following messages:I appreciate any help.
github.com/Benau/go_rlottie
In file included from vector_stb_stb_image.cpp:14:
vector_stb_stb_image.h: In function ‘int stbi__jpeg_info(stbi__context*, int*, int*, int*)’:
vector_stb_stb_image.h:956:29: warning: value computed is not used [-Wunused-value]
956 | #define stbi__errpuc(x,y) ((unsigned char *)(size_t) (stbi__err(x,y)?NULL:NULL))
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vector_stb_stb_image.h:3811:7: note: in expansion of macro ‘stbi__errpuc’
3811 | stbi__errpuc("outofmem", "Out of memory");
| ^~~~~~~~~~~~
watgbridge
/usr/bin/ld: warning: /tmp/go-link-2201394933/000027.o: missing .note.GNU-stack section implies executable stack
/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
The text was updated successfully, but these errors were encountered: