Dominique Pelle wrote: > >> I also see compilation warnings when compiling vim/src/if_python.c: > >> > >> if_python.c:759: warning: missing initializer > >> if_python.c:759: warning: (near initialization for > >> ‘OutputType.tp_getattro’) > >> if_python.c:1457: warning: missing initializer > >> if_python.c:1457: warning: (near initialization for > >> ‘BufferAsSeq.sq_contains’) > >> if_python.c:1480: warning: missing initializer > >> if_python.c:1480: warning: (near initialization for > >> ‘BufferType.tp_getattro’) > >> if_python.c:1699: warning: missing initializer > >> if_python.c:1699: warning: (near initialization for > >> ‘RangeAsSeq.sq_contains’) > >> if_python.c:1722: warning: missing initializer > >> if_python.c:1722: warning: (near initialization for > >> ‘RangeType.tp_getattro’) > >> if_python.c:1873: warning: missing initializer > >> if_python.c:1873: warning: (near initialization for > >> ‘BufListAsSeq.sq_contains’) > >> if_python.c:1896: warning: missing initializer > >> if_python.c:1896: warning: (near initialization for > >> ‘BufListType.tp_getattro’) > >> if_python.c:1960: warning: missing initializer > >> if_python.c:1960: warning: (near initialization for > >> ‘WindowType.tp_getattro’) > >> if_python.c:2195: warning: missing initializer > >> if_python.c:2195: warning: (near initialization for > >> ‘WinListAsSeq.sq_contains’) > >> if_python.c:2218: warning: missing initializer > >> if_python.c:2218: warning: (near initialization for > >> ‘WinListType.tp_getattro’) > >> if_python.c:2280: warning: missing initializer > >> if_python.c:2280: warning: (near initialization for > >> ‘CurrentType.tp_getattro’) > > > > I don't get these. Are you using non-default compiler arguments? > > Ah yes, sorry, I forgot that I changed CFLAGS in src/Makefile. > Compiling with gcc flags "-Wall -Wextra" is enough to gives those > warnings (CFLAGS = -O0 -g -Wall -Wextra)
The Makefile has this line for that purpose: PYTHON_CFLAGS_EXTRA = -Wno-missing-field-initializers -- hundred-and-one symptoms of being an internet addict: 232. You start conversations with, "Have you gotten an ISDN line?" /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php
