[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: Pierre Abbat
Subject: Re: What's the proper way to get cchar_t?
Date: Fri, 31 Mar 2006 17:57:18 -0500
User-agent: KMail/1.8.3

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
> good).

(Your answer never got to the list.)
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.


reply via email to

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