[systemd-devel] [RFC] Remove warning: <var> may be used uninitialized
nefelim4ag at gmail.com
Thu Aug 14 16:02:28 PDT 2014
I just use:
./autogen.sh && ./configure && make
But did not matter, thanks for explanation, i think what this thread
can be closed.
2014-08-15 1:57 GMT+03:00 Lennart Poettering <lennart at poettering.net>:
> On Fri, 15.08.14 01:11, Timofey Titovets (nefelim4ag at gmail.com) wrote:
>> Good time of day, when i compile systemd i get ton of warning like:
>> <var> may be used uninitialized in function...
>> May be i can spend some time and create patches with fixes of that warnings?
>> As example declare it by default to 0 or something like that.
>> Or this is not a bug, just feature? %)
> Did you compile this with -flto? (which is the default, unless you build
> with "autogen.sh c" or suchlike)
> With lto enabled gcc warnings about that are not useful, and should be
> ignored mostly, right now. Turn off lto, and they become more useful,
> but we should be pretty clean with that already.
> Lennart Poettering, Red Hat
Have a nice day,
More information about the systemd-devel