I'm seeing a conflict between the auto/osdef.h definitions:

extern int      tgetent __ARGS((char *, char *));
extern int      tgetnum __ARGS((char *));
extern int      tgetflag __ARGS((char *));
extern char     *tgoto __ARGS((char *, int, int));
extern int      tputs __ARGS((char *, int, int (*)(int)));

and:

#if !defined(NCURSES_TERM_H_incl)
extern NCURSES_EXPORT(char *) tgetstr (NCURSES_CONST char *, char **);
extern NCURSES_EXPORT(char *) tgoto (const char *, int, int);
extern NCURSES_EXPORT(int) tgetent (char *, const char *);
extern NCURSES_EXPORT(int) tgetflag (NCURSES_CONST char *);
extern NCURSES_EXPORT(int) tgetnum (NCURSES_CONST char *);
extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int));
#endif

in ncurses-5.5:

In file included from term.c:34:
/home/philipp/alix/build_i586/staging_dir/usr/include/termcap.h:64: error: 
conflicting types for 'tgoto'
auto/osdef.h:120: error: previous declaration of 'tgoto' was here
/home/philipp/alix/build_i586/staging_dir/usr/include/termcap.h:65: error: 
conflicting types for 'tgetent'
auto/osdef.h:117: error: previous declaration of 'tgetent' was here
/home/philipp/alix/build_i586/staging_dir/usr/include/termcap.h:66: error: 
conflicting types for 'tgetflag'
auto/osdef.h:119: error: previous declaration of 'tgetflag' was here
/home/philipp/alix/build_i586/staging_dir/usr/include/termcap.h:67: error: 
conflicting types for 'tgetnum'
auto/osdef.h:118: error: previous declaration of 'tgetnum' was here
/home/philipp/alix/build_i586/staging_dir/usr/include/termcap.h:68: error: 
conflicting types for 'tputs'
auto/osdef.h:121: error: previous declaration of 'tputs' was here


I looked at osdef?.h.in and osdef.sh and couldn't figure out where tgoto() etc. 
were coming from.

Is there a work-around?

Thanks,

-Philip


-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui