Here you go - but as I mentioned earlier - extracting the relevant pieces of the application is next to impossible - and I am not getting the same errors when running microhttpd's
`make check`.
g++ -m64 -O3 -DNDEBUG -fdata-sections -ffunction-sections -s -flto -fPIE -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2 -std=c++20 -Waddress -Waggressive-loop-optimizations -Wall -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wconversion -Wdisabled-optimization -Wdouble-promotion -Werror -Wextra -Wfatal-errors -Wfloat-equal -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wformat=2 -Wimport -Winit-self -Wno-inline -Winvalid-pch -Wlogical-op -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Woverlength-strings -Wparentheses -Wpedantic -Wpointer-arith -Wredundant-decls -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wsign-conversion -Wstack-protector -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wswitch-enum -Wtrigraphs -Wundef -Wuninitialized -Wunknown-pragmas -Wunreachable-code -Wunsafe-loop-optimizations -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wno-deprecated-declarations -Wc++11-compat -Wconversion-null -Wctor-dtor-privacy -Weffc++ -Winvalid-pch -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wsign-promo -Wstrict-null-sentinel -Wno-useless-cast -Wzero-as-null-pointer-constant -Wstack-protector -fstack-protector-all -Wno-non-virtual-dtor -Wno-reorder -Wno-sign-conversion -Wno-float-equal -Wno-old-style-cast -Wno-zero-as-null-pointer-constant -m64 -Wl,--gc-sections -s -flto -pie -z noexecstack -z relro -z now -fuse-ld=gold -s main.cpp.o -o bin/main myapplication_libs.a -lmicrohttpd -lcurl -lgnutls /usr/lib64/libz.so -lpthread -lgcrypt -lgpg-error -lhogweed -lnettle -lgmp
src/microhttpd/connection.c: In function ‘connection_alloc_memory’:
src/microhttpd/connection.c:281:10: error: ‘need_to_free’ may be used uninitialized [-Werror=maybe-uninitialized]
281 | if (c->read_buffer_size - c->read_buffer_offset >= need_to_free)
| ^
compilation terminated due to -Wfatal-errors.
lto1: all warnings being treated as errors