When LTO is enabled, linking fails complaining about potentially
uninitialized variables;
It's hard to provide a small sample reproducing this, but I hope the patch
can be applied even without it since it's innocent enough (diff against
commit 8bb481f ):
diff --git a/src/microhttpd/connection.c b/
gt; workaround it with '-ftrivial-auto-var-init' parameter.
>
> Let me know the details, please.
>
> --
> Evgeny
>
> On 26/12/2023 16:14, Sergey Sudnitsyn wrote:
> > When LTO is enabled, linking fails complaining about potentially
> > uninitialized variables;
&g
f you could share the *exact* compiler
> invocation (make V=1) and error message you are getting...
>
> On 12/27/23 11:38, Sergey Sudnitsyn wrote:
> > Thank you.
> > I don't know what's so special about my setup - I am getting the same
> > error with GCC 12 &a