Skip to content

Linker warning when compiling #53

@arlesontonnera

Description

@arlesontonnera

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions