On Tue, Jul 11, 2006 at 04:35:01PM -0400, Thomas Dickey wrote:
On Tue, Jul 11, 2006 at 03:22:37PM -0500, address@hidden wrote:
Looks like a workaround would be to define __wchar_t (untested).
Where would I define that?
setenv CPPFLAGS=-D__wchar_t
before configure, for instance.
I still get the error:-
cd filters && make - prefix=/home/isbd DESTDIR= all
gcc -c -I. -I. -DHAVE_CONFIG_H -D__wchar_t -D_BSD_TYPES
-D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600
-DVILE_ICON=\"icons/vile.xbm\"
-DVILE_LIBDIR_PATH=\"'/home/isbd/lib/vile'\"
-DVILE_STARTUP_PATH=\"'/home/isbd/share/vile'\" -g -O2
-DHELP_LOC=\"/home/isbd/share/vile\" curses.c
In file included from tcap.h:38,
from curses.c:16:
/usr/include/curses.h:236: conflicting types for `wchar_t'
/usr/include/stddef.h:59: previous declaration of `wchar_t'
*** Error code 1
However a bit of creative mucking about and I've got it to build, I
did "export CPPFLAGS=-D_WCHAR_T" and it builds successfully.