Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2003 17:07:47 +0900
From:      Till Plewe <till@plewe.is.tsukuba.ac.jp>
To:        stable@freebsd.org
Cc:        current@freebsd.org
Subject:   curses header conflict (wchar_t,wint_t)
Message-ID:  <20030602080747.GA79912@plewe.is.tsukuba.ac.jp>

next in thread | raw e-mail | index | archive | help
When trying to install python2.3 on either stable or current the python 
curses module doesn't build. I get the following compiler complaints:

STABLE (line numbers in brackets are from CURRENT)

/usr/include/ncurses.h:236(289): conflicting types for `wchar_t'
/usr/include/stdlib.h:58(57): previous declaration of `wchar_t'
/usr/include/ncurses.h:239(292): conflicting types for `wint_t'
/usr/include/wchar.h:89(96): previous declaration of `wint_t'

Can somebody tell me the story of _WCHAR_T and _BSD_WCHAR_T, or tell me
where I can find some hints?

I found several long threads on seemingly related problems but
haven't been enlightened yet. 

(One drastic fix is to remove the relevant lines from ncurses.h 
while building python.)

- Till



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030602080747.GA79912>