[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the proper way to get cchar_t?

From: Thomas Dickey
Subject: Re: What's the proper way to get cchar_t?
Date: Fri, 31 Mar 2006 18:12:48 -0500 (EST)

On Fri, 31 Mar 2006, Pierre Abbat wrote:

On Wednesday 29 March 2006 09:55, Thomas Dickey wrote:
On Mon, 27 Mar 2006, Pierre Abbat wrote:
I'm writing an ncurses program which computes the volume of a cylindrical
shell. I'm using Unicode, so I want wide characters. I defined
_XOPEN_SOURCE_EXTENDED so that I could get cchar_t, but then the
preprocessor didn't know what M_PI is. I undefined it, and got it to run
where some files were compiled with -D_XOPEN_SOURCE_EXTENDED and some
without, but then I edited another source file and now it doesn't know
what cchar_t is. How do I fix this?

What operating system are you using?  (sounds like its header files aren't

(Your answer never got to the list.)

I see it here:


I'm running Ubuntu breezy and the program is in a Kdevelop 3 project. I
defined M_PI before including math.h in the file that needs it.

...then I'm confused about what problem you're reporting

Thomas E. Dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]