Skip to content
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

Compile error with gcc-14.1 and 32-bit / 64-bit targets #87

Open
heitbaum opened this issue May 22, 2024 · 0 comments · May be fixed by #88
Open

Compile error with gcc-14.1 and 32-bit / 64-bit targets #87

heitbaum opened this issue May 22, 2024 · 0 comments · May be fixed by #88

Comments

@heitbaum
Copy link
Contributor

build error

./vclog/vclog.c:211:34: error: argument 2 value '4294967288' exceeds maximum object size 2147483647 [-Werror=alloc-size-larger-than=]
  211 |                 payload_buffer = realloc(payload_buffer, payload_buffer_size);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./vclog/vclog.c:17:
../../toolchain/armv7ve-libreelec-linux-gnueabihf/sysroot/usr/include/stdlib.h:683:14: note: in a call to allocation function 'realloc' declared here
  683 | extern void *realloc (void *__ptr, size_t __size)
      |              ^~~~~~~
@heitbaum heitbaum changed the title Compile error with gcc-14.1 and 32-bit target Compile error with gcc-14.1 and 32-bit / 64-bit targets May 22, 2024
@heitbaum heitbaum linked a pull request May 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant