Hi all,
I've just installed the latest Ubuntu (a RC), and of course one of my
first move was to compile Vim. I got an error while doing this:
In file included from /usr/include/X11/Intrinsic.h:56,
from gui.h:32,
from structs.h:81,
from vim.h:1579,
from buffer.c:28:
/usr/include/X11/Xlib.h:102: error: conflicting types for '_Xmblen'
auto/osdef.h:135: error: previous declaration of '_Xmblen' was here
In /usr/include/X11/Xlib.h, I have this:
extern int
_Xmblen(
#ifdef ISC
char const *str,
size_t len
#else
char *str,
int len
#endif
);
And in src/auto/osdef.h, I have the same thing:
#ifdef ISC
extern int _Xmblen __ARGS((char const *, size_t));
#else
/* This is different from the header but matches mblen() */
extern int _Xmblen __ARGS((char *, size_t));
#endif
I had to comment the definition in osdef.h to get Vim compiled, and I
never faced this issue previously. Any idea about what's going on?
Maybe X headers have changed?
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---