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
Development Machine, OS, Compiler (and Other Relevant Toolchain Info)
SDK Version: LTS_08_2023
Protocol: MQTT
Describe the Bug
The text was updated successfully, but these errors were encountered:
The warning is discussed in https://stackoverflow.com/questions/47450718/gcc7-2-argument-range-exceeds-maximum-object-size-9-7-werror-alloc-size-larg and https://gcc.gnu.org/bugzilla//show_bug.cgi?id=85783.
This is very likely a false positive as both operands should be fairly small and never exceed the maximum value of size_t.
size_t
My recommendation is to disable this warning (set compileOption_C to have -Wno-alloc-size-larger-than ). E.g. in ccmake ..:
compileOption_C
-Wno-alloc-size-larger-than
ccmake ..
Sorry, something went wrong.
Thanks CIPop. I'll suppress this warning for now.
No branches or pull requests
Development Machine, OS, Compiler (and Other Relevant Toolchain Info)
x86_64-alpine-linux-musl
gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924
SDK Version: LTS_08_2023
Protocol: MQTT
Describe the Bug
The text was updated successfully, but these errors were encountered: