Warning message seen when building memfile_test.c

15 views
Skip to first unread message

Yegappan Lakshmanan

unread,
Jun 3, 2019, 6:37:41 PM6/3/19
to vim_dev
Hi,

I see the following warning message when running "make test"
in a MacOS system:

memfile_test.c:70:7: warning: incompatible pointer types assigning to
'mf_hashitem_T *' (aka 'struct mf_hashitem_S *') from 'mf_hashtab_T *'
(aka 'struct mf_hashtab_S *') [-Wincompatible-pointer-types]
item = LALLOC_CLEAR_ONE(mf_hashtab_T);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

- Yegappan

Bram Moolenaar

unread,
Jun 4, 2019, 4:29:36 PM6/4/19
to vim...@googlegroups.com, Yegappan Lakshmanan
He, the new alloc macros pay off!

--
From "know your smileys":
:-D Big smile

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages