Tony wrote:
> In the Huge, Big and Normal builds I get -Wmaybe-uninitialized
> warnings for line_attr in drawline.c but they are different in each
> case; I don't understand getting a -Wmaybe-uninitialized for a
> variable which was given an initial value on the line declaring it.
> This is gcc 12.1.1 20220721:
line_attr itself is initialized, but it gets assigned from
line_attr_save, which the compiler thinks might be uninitialized.
The compiler could be clearer about why it came to this warning.
Otherwise it requires quite a bit of guessing.
--
hundred-and-one symptoms of being an internet addict:
264. You turn to the teletext page "surfing report" and are surprised that it
is about sizes of waves and a weather forecast for seaside resorts.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220806213729.8467A1C0EC3%40moolenaar.net.