Bram Moolenaar <Bram@moolenaar.net> 于2019年8月25日周日 下午8:49写道:
>
>
> Hongyi Zhao wrote:
>
> > I try to build vim with the --enable-hangulinput and --enable-xim
> > confilct at the same time, but failed with error:
> >
> > -------------------------
> > vim.h:1585:63: error: called object 'size_t' is not a function or
> > function pointer
> > #define STRNCMP(d, s, n) strncmp((char *)(d), (char *)(s), (size_t)(n))
> > ^
> > ex_docmd.c:8459:6: note: in expansion of macro 'STRNCMP'
> > if (STRNCMP(arg, "FALLBACK ", 9) == 0)
> > ^~~~~~~
> > In file included from /usr/include/wchar.h:887:0,
> > from spell.h:250,
> > from vim.h:2110,
> > from ex_docmd.c:14:
> > /usr/include/x86_64-linux-gnu/bits/wchar2.h:507:20: note: declared here
> > __fortify_function size_t
> > ^~~~~~
> > Makefile:3059: recipe for target 'objects/ex_docmd.o' failed
> > make[1]: *** [objects/ex_docmd.o] Error 1
> > make[1]: Leaving directory '/home/werner/software/editor/vim/vim.git/src'
> > Makefile:26: recipe for target 'first' failed
> > make: *** [first] Error 2
> > -----------------------------
> >
> > Are these two options conflict?
>
> Looks more like a problem with your wchar.h file. It uses
> __fortify_function but it's probably not defined. Perhaps you need to
> use another compiler or compilation flags.
I use gcc for this:
$ gcc --version
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
As for others compiler, I don't know which you refer to?
As for the compilation flags, I also have no hints in my mind.
Regards
>
> --
> hundred-and-one symptoms of being an internet addict:
> 115. You are late picking up your kid from school and try to explain
> to the teacher you were stuck in Web traffic.
>
> /// Bram Moolenaar -- Bram@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 ///
--
Hongsheng Zhao <hongyi.zhao@gmail.com>
Institute of Semiconductors, Chinese Academy of Sciences
GnuPG DSA: 0xD108493
--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAGP6PO%2BR2CFU1x9Ur62Q2%3D%2BncUTN6QyRxaDFqcMuiUgZ7s3Ytw%40mail.gmail.com.
Sunday, August 25, 2019
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment